kopia lustrzana https://github.com/yt-dlp/yt-dlp
[rutube] Use geo verification headers (closes #17897)
rodzic
582797d780
commit
baeabf7742
|
@ -103,7 +103,8 @@ class RutubeIE(RutubeBaseIE):
|
||||||
|
|
||||||
options = self._download_json(
|
options = self._download_json(
|
||||||
'http://rutube.ru/api/play/options/%s/?format=json' % video_id,
|
'http://rutube.ru/api/play/options/%s/?format=json' % video_id,
|
||||||
video_id, 'Downloading options JSON')
|
video_id, 'Downloading options JSON',
|
||||||
|
headers=self.geo_verification_headers())
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
for format_id, format_url in options['video_balancer'].items():
|
for format_id, format_url in options['video_balancer'].items():
|
||||||
|
|
Ładowanie…
Reference in New Issue