mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 00:57:07 -05:00 
			
		
		
		
	[ondemandkorea] Improve geo restriction detection and use geo bypass mechanism
This commit is contained in:
		@@ -35,7 +35,8 @@ class OnDemandKoreaIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
        if 'msg_block_01.png' in webpage:
 | 
			
		||||
            self.raise_geo_restricted(
 | 
			
		||||
                'This content is not available in your region')
 | 
			
		||||
                msg='This content is not available in your region',
 | 
			
		||||
                countries=['US', 'CA'])
 | 
			
		||||
 | 
			
		||||
        if 'This video is only available to ODK PLUS members.' in webpage:
 | 
			
		||||
            raise ExtractorError(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user