1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[tva] fix extraction(closes #14736)

This commit is contained in:
Remita Amine 2017-11-13 11:24:15 +01:00
parent 388beb86e0
commit 27adc9ec65

View file

@ -32,6 +32,8 @@ class TVAIE(InfoExtractor):
video_data = self._download_json( video_data = self._download_json(
'https://videos.tva.ca/proxy/item/_' + video_id, video_id, headers={ 'https://videos.tva.ca/proxy/item/_' + video_id, video_id, headers={
'Accept': 'application/json', 'Accept': 'application/json',
}, query={
'appId': '5955fc5f23eec60006c951f1',
}) })
def get_attribute(key): def get_attribute(key):