logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 8b9848ac5678356757f67a412f7ed89a0f559be7
parent 8b8c1093b65ee02aad859ed8d82217312ed0d9d8
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 15 Aug 2015 15:58:30 +0600

[extractor/common] Expand meta regex

Diffstat:

Myoutube_dl/extractor/common.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py @@ -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):