Browse Source

[wat.tv] Add version `pver` to metadata API call

Resolves #30959.
dirkf 3 years ago
parent
commit
c3deca86ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/wat.py

+ 1 - 1
youtube_dl/extractor/wat.py

@@ -57,7 +57,7 @@ class WatIE(InfoExtractor):
         #     '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': '4001000'})
         video_info = video_data['media']
 
         error_desc = video_info.get('error_desc')