mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[wat] Fix extraction of multi-language videos and subtitles (#3739)
Closes #982, closes #1683 Authored by: elyse0
This commit is contained in:
parent
3358f89361
commit
25f0e68f97
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ def _real_extract(self, url):
|
||||||
# 'http://www.wat.tv/interface/contentv4s/' + video_id, video_id)
|
# 'http://www.wat.tv/interface/contentv4s/' + video_id, video_id)
|
||||||
video_data = self._download_json(
|
video_data = self._download_json(
|
||||||
'https://mediainfo.tf1.fr/mediainfocombo/' + video_id,
|
'https://mediainfo.tf1.fr/mediainfocombo/' + video_id,
|
||||||
video_id, query={'context': 'MYTF1'})
|
video_id, query={'context': 'MYTF1', 'pver': '4020003'})
|
||||||
video_info = video_data['media']
|
video_info = video_data['media']
|
||||||
|
|
||||||
error_desc = video_info.get('error_desc')
|
error_desc = video_info.get('error_desc')
|
||||||
|
|
Loading…
Reference in a new issue