mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:17:07 -05:00 
			
		
		
		
	[theplatform] Fix geographic restriction check
This commit is contained in:
		@@ -38,7 +38,7 @@ class ThePlatformIE(InfoExtractor):
 | 
			
		||||
            error_msg = next(
 | 
			
		||||
                n.attrib['abstract']
 | 
			
		||||
                for n in meta.findall(_x('.//smil:ref'))
 | 
			
		||||
                if n.attrib['title'] == u'Geographic Restriction')
 | 
			
		||||
                if n.attrib.get('title') == u'Geographic Restriction')
 | 
			
		||||
        except StopIteration:
 | 
			
		||||
            pass
 | 
			
		||||
        else:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user