mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 03:33:02 +00:00
[extractor/common] Expand meta regex
This commit is contained in:
parent
e0ac521438
commit
5b0c40da24
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ def _og_regexes(prop):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _meta_regex(prop):
|
def _meta_regex(prop):
|
||||||
return r'''(?isx)<meta
|
return r'''(?isx)<meta
|
||||||
(?=[^>]+(?:itemprop|name|property)=(["\']?)%s\1)
|
(?=[^>]+(?:itemprop|name|property|id)=(["\']?)%s\1)
|
||||||
[^>]+?content=(["\'])(?P<content>.*?)\2''' % re.escape(prop)
|
[^>]+?content=(["\'])(?P<content>.*?)\2''' % re.escape(prop)
|
||||||
|
|
||||||
def _og_search_property(self, prop, html, name=None, **kargs):
|
def _og_search_property(self, prop, html, name=None, **kargs):
|
||||||
|
|
Loading…
Reference in a new issue