[extractor/common] Expand meta regex
authorSergey M․ <dstftw@gmail.com>
Fri, 7 Aug 2015 21:36:29 +0000 (03:36 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 7 Aug 2015 21:36:29 +0000 (03:36 +0600)
youtube_dl/extractor/common.py

index dc508050413c8490882323e01d91ea3a3ba88c9a..507ea5ec0b13abc2f2077b0096f900d40861fad8 100644 (file)
@@ -636,7 +636,7 @@ class InfoExtractor(object):
     @staticmethod
     def _meta_regex(prop):
         return r'''(?isx)<meta
-                    (?=[^>]+(?:itemprop|name|property)=(["\']?)%s\1)
+                    (?=[^>]+(?:itemprop|name|property|id)=(["\']?)%s\1)
                     [^>]+?content=(["\'])(?P<content>.*?)\2''' % re.escape(prop)
 
     def _og_search_property(self, prop, html, name=None, **kargs):