mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[jpopsuki] Simplify
This commit is contained in:
		| @@ -378,7 +378,7 @@ class InfoExtractor(object): | ||||
|     @staticmethod | ||||
|     def _og_regexes(prop): | ||||
|         content_re = r'content=(?:"([^>]+?)"|\'(.+?)\')' | ||||
|         property_re = r'property=[\'"]og:%s[\'"]' % re.escape(prop) | ||||
|         property_re = r'(?:name|property)=[\'"]og:%s[\'"]' % re.escape(prop) | ||||
|         template = r'<meta[^>]+?%s[^>]+?%s' | ||||
|         return [ | ||||
|             template % (property_re, content_re), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister