]> jfr.im git - yt-dlp.git/commitdiff
[wat] Fix extraction of multi-language videos and subtitles (#3739)
authorElyse <redacted>
Sun, 15 May 2022 12:09:14 +0000 (07:09 -0500)
committerGitHub <redacted>
Sun, 15 May 2022 12:09:14 +0000 (05:09 -0700)
Closes #982, closes #1683
Authored by: elyse0

yt_dlp/extractor/wat.py

index 2ad664890a6e8d9b0ff2b2d83389762533b20bc2..e6a89adf69c74cbc7ae2a07576a0848f61cc5604 100644 (file)
@@ -54,7 +54,7 @@ def _real_extract(self, url):
         #     'http://www.wat.tv/interface/contentv4s/' + video_id, video_id)
         video_data = self._download_json(
             'https://mediainfo.tf1.fr/mediainfocombo/' + video_id,
-            video_id, query={'context': 'MYTF1'})
+            video_id, query={'context': 'MYTF1', 'pver': '4020003'})
         video_info = video_data['media']
 
         error_desc = video_info.get('error_desc')