mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 08:17:08 -05:00 
			
		
		
		
	[extractor/common] Expand meta regex
This commit is contained in:
		@@ -640,7 +640,7 @@ class InfoExtractor(object):
 | 
			
		||||
    @staticmethod
 | 
			
		||||
    def _meta_regex(prop):
 | 
			
		||||
        return r'''(?isx)<meta
 | 
			
		||||
                    (?=[^>]+(?:itemprop|name|property|id)=(["\']?)%s\1)
 | 
			
		||||
                    (?=[^>]+(?:itemprop|name|property|id|http-equiv)=(["\']?)%s\1)
 | 
			
		||||
                    [^>]+?content=(["\'])(?P<content>.*?)\2''' % re.escape(prop)
 | 
			
		||||
 | 
			
		||||
    def _og_search_property(self, prop, html, name=None, **kargs):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user