mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[rutube] Use geo verification headers (closes #17897)
This commit is contained in:
parent
582797d780
commit
baeabf7742
1 changed files with 2 additions and 1 deletions
|
@ -103,7 +103,8 @@ def _real_extract(self, url):
|
|||
|
||||
options = self._download_json(
|
||||
'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 = []
|
||||
for format_id, format_url in options['video_balancer'].items():
|
||||
|
|
Loading…
Reference in a new issue