[generic/wistia] Improve regex
This commit is contained in:
parent
6283c10b1c
commit
281d3f1d68
1 changed files with 1 additions and 1 deletions
|
@ -663,7 +663,7 @@ class GenericIE(InfoExtractor):
|
||||||
|
|
||||||
# Look for embedded Wistia player
|
# Look for embedded Wistia player
|
||||||
match = re.search(
|
match = re.search(
|
||||||
r'(?:<meta content|<iframe[^>]+?src)=(["\'])(?P<url>(?:https?:)?//(?:fast\.)?wistia\.net/embed/iframe/.+?)\1', webpage)
|
r'<(?:meta[^>]+?content|iframe[^>]+?src)=(["\'])(?P<url>(?:https?:)?//(?:fast\.)?wistia\.net/embed/iframe/.+?)\1', webpage)
|
||||||
if match:
|
if match:
|
||||||
embed_url = self._proto_relative_url(
|
embed_url = self._proto_relative_url(
|
||||||
unescapeHTML(match.group('url')))
|
unescapeHTML(match.group('url')))
|
||||||
|
|
Loading…
Reference in a new issue