mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:17:07 -05:00 
			
		
		
		
	[brightcove:new] Add ability to smuggle geo_countries into URL
This commit is contained in:
		@@ -515,6 +515,9 @@ class BrightcoveNewIE(InfoExtractor):
 | 
			
		||||
        return entries
 | 
			
		||||
 | 
			
		||||
    def _real_extract(self, url):
 | 
			
		||||
        url, smuggled_data = unsmuggle_url(url, {})
 | 
			
		||||
        self._initialize_geo_bypass(smuggled_data.get('geo_countries'))
 | 
			
		||||
 | 
			
		||||
        account_id, player_id, embed, video_id = re.match(self._VALID_URL, url).groups()
 | 
			
		||||
 | 
			
		||||
        webpage = self._download_webpage(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user