diff options
author | Ales Jirasek <schunkac@gmail.com> | 2018-10-10 23:47:21 +0200 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-02-08 00:43:26 +0700 |
commit | 22f5f5c6fcd2d7f0c9f1ff3019fe0b957b771f44 (patch) | |
tree | 51375dcaa12e82365e44d7849c7d0086a4e6ca9b /youtube_dl/extractor/common.py | |
parent | 49bd993fd9adbcf6b5c11a7ec11c2b4a552e49c5 (diff) |
[malltv] Add extractor (closes #18058)
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r-- | youtube_dl/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index c4ea2882f..c3b0586a0 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1058,7 +1058,7 @@ class InfoExtractor(object): @staticmethod def _og_regexes(prop): content_re = r'content=(?:"([^"]+?)"|\'([^\']+?)\'|\s*([^\s"\'=<>`]+?))' - property_re = (r'(?:name|property)=(?:\'og:%(prop)s\'|"og:%(prop)s"|\s*og:%(prop)s\b)' + property_re = (r'(?:name|property)=(?:\'og[:-]%(prop)s\'|"og[:-]%(prop)s"|\s*og[:-]%(prop)s\b)' % {'prop': re.escape(prop)}) template = r'<meta[^>]+?%s[^>]+?%s' return [ |