projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7965b9
)
[wat.tv] Add version `pver` to metadata API call
author
dirkf
<fieldhouse@gmx.net>
Thu, 19 May 2022 17:41:48 +0000
(17:41 +0000)
committer
GitHub
<noreply@github.com>
Thu, 19 May 2022 17:41:48 +0000
(17:41 +0000)
Resolves #30959.
youtube_dl/extractor/wat.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/wat.py
b/youtube_dl/extractor/wat.py
index f1bccc2d6b2ac79f93e53e3e67f3294bcf21a8e9..b15e037688904814fdc39b88a3873ac047840bf0 100644
(file)
--- 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')