mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 19:57:06 -05:00 
			
		
		
		
	[rutube] Use geo verification headers (closes #17897)
This commit is contained in:
		@@ -103,7 +103,8 @@ class RutubeIE(RutubeBaseIE):
 | 
			
		||||
 | 
			
		||||
        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():
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user