mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 03:33:02 +00:00
[rutv] Fix extraction (Closes #8004)
This commit is contained in:
parent
06d5556dfa
commit
6418b2439b
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,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/%splay/id/%s' % ('live-' if is_live else '', video_id),
|
'http://player.rutv.ru/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 a new issue