diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-10-23 23:03:07 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-10-23 23:03:07 +0700 |
commit | 281d3f1d6877a022d51d8d654595c4958dd83d7c (patch) | |
tree | ccd9c98681de3d2e3ae6bb2d062249411dcbab70 | |
parent | 6283c10b1c4b6059f7b43cb479a04db0c41bb6c8 (diff) |
[generic/wistia] Improve regex
-rw-r--r-- | youtube_dl/extractor/generic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index bf957fa3f..e13816c66 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -663,7 +663,7 @@ class GenericIE(InfoExtractor): # Look for embedded Wistia player 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: embed_url = self._proto_relative_url( unescapeHTML(match.group('url'))) |