[extractor/common] Expand meta regex
authorSergey M․ <dstftw@gmail.com>
Sat, 15 Aug 2015 09:58:30 +0000 (15:58 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 15 Aug 2015 09:58:30 +0000 (15:58 +0600)
youtube_dl/extractor/common.py

index 5982055be888a87ea08f7d388d92a0ba4cc446ab..16ae4b98ffe09c97f604981bf6c2ce9dc1e44e03 100644 (file)
@@ -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):