A feature-rich command-line audio/video downloader
[extractor/common] Allow HTML5 unquoted attribute values
Yen Chi Hsuan57935b2564c0
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.pyindex dbae754062..242618c583 100644--- a/youtube_dl/extractor/common.py+++ b/youtube_dl/extractor/common.py@@ -646,7 +646,7 @@ class InfoExtractor(object):@staticmethoddef _og_regexes(prop):content_re = r'content=(?:"([^>]+?)"|\'([^>]+?)\')'- property_re = r'(?:name|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),