logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: c3deca86aedd2d8ab7cd0c596fd68b7aeb7c042d
parent c7965b9fc2cae54f244f31f5373cb81a40e822ab
Author: dirkf <fieldhouse@gmx.net>
Date:   Thu, 19 May 2022 17:41:48 +0000

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

Resolves #30959.

Diffstat:

Myoutube_dl/extractor/wat.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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')