mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:37:08 -05:00 
			
		
		
		
	[svtplay] Use geo verification proxy for API request
This commit is contained in:
		@@ -181,7 +181,8 @@ class SVTPlayIE(SVTBaseIE):
 | 
			
		||||
 | 
			
		||||
        if video_id:
 | 
			
		||||
            data = self._download_json(
 | 
			
		||||
                'https://api.svt.se/videoplayer-api/video/%s' % video_id, video_id)
 | 
			
		||||
                'https://api.svt.se/videoplayer-api/video/%s' % video_id,
 | 
			
		||||
                video_id, headers=self.geo_verification_headers())
 | 
			
		||||
            info_dict = self._extract_video(data, video_id)
 | 
			
		||||
            if not info_dict.get('title'):
 | 
			
		||||
                info_dict['title'] = re.sub(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user