浏览代码

[tva] fix extraction(closes #14736)

Remita Amine 7 年之前
父节点
当前提交
27adc9ec65
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      youtube_dl/extractor/tva.py

+ 2 - 0
youtube_dl/extractor/tva.py

@@ -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):