Merge branch 'rutv' of https://github.com/adrianheine/youtube-dl into adrianheine-rutv

This commit is contained in:
Tom-Oliver Heidel 2020-09-08 18:58:19 +02:00
commit cb2ea2d5ef

View file

@ -139,7 +139,7 @@ class RUTVIE(InfoExtractor):
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']: