[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 @@ def _real_extract(self, url):
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):