about summary refs log tree commit diff
diff options
context:
space:
mode:
authordirkf <fieldhouse@gmx.net>2022-05-19 17:41:48 +0000
committerGitHub <noreply@github.com>2022-05-19 17:41:48 +0000
commitc3deca86aedd2d8ab7cd0c596fd68b7aeb7c042d (patch)
tree29d45e85b4a5d8c23ea87a2e49b68d9e1bc32338
parentc7965b9fc2cae54f244f31f5373cb81a40e822ab (diff)
downloadyoutube-dl-c3deca86aedd2d8ab7cd0c596fd68b7aeb7c042d.tar.gz
youtube-dl-c3deca86aedd2d8ab7cd0c596fd68b7aeb7c042d.tar.xz
youtube-dl-c3deca86aedd2d8ab7cd0c596fd68b7aeb7c042d.zip
[wat.tv] Add version `pver` to metadata API call
Resolves #30959.
-rw-r--r--youtube_dl/extractor/wat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/wat.py b/youtube_dl/extractor/wat.py
index f1bccc2d6..b15e03768 100644
--- a/youtube_dl/extractor/wat.py
+++ b/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')