mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 15:46:54 +01:00
Merge branch 'adrianheine-rutv'
This commit is contained in:
commit
771a0ba4d2
@ -139,7 +139,7 @@ def _real_extract(self, url):
|
|||||||
is_live = video_type == 'live'
|
is_live = video_type == 'live'
|
||||||
|
|
||||||
json_data = self._download_json(
|
json_data = self._download_json(
|
||||||
'http://player.rutv.ru/iframe/data%s/id/%s' % ('live' if is_live else 'video', video_id),
|
'http://player.vgtrk.com/iframe/data%s/id/%s' % ('live' if is_live else 'video', video_id),
|
||||||
video_id, 'Downloading JSON')
|
video_id, 'Downloading JSON')
|
||||||
|
|
||||||
if json_data['errors']:
|
if json_data['errors']:
|
||||||
|
Loading…
Reference in New Issue
Block a user