diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-09-27 05:55:48 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-09-27 05:55:48 +0600 |
commit | dd467d33d0883c0c0c94d7fc5ed041d5c12bb564 (patch) | |
tree | 7a2813199b55ee6d965d91c3beba2259ba21a00b /youtube_dl/extractor | |
parent | c6b8f4d0c9413df9c33f3bd67859d1a9675ec8aa (diff) |
[extractor/generic] Add support for condenast script embeds (Closes #6885, closes #6991)
Diffstat (limited to 'youtube_dl/extractor')
-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 22ec78a02..ca5fbafb2 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -1653,7 +1653,7 @@ class GenericIE(InfoExtractor): return self.url_result(mobj.group('url'), 'MLB') mobj = re.search( - r'<iframe[^>]+?src=(["\'])(?P<url>%s)\1' % CondeNastIE.EMBED_URL, + r'<(?:iframe|script)[^>]+?src=(["\'])(?P<url>%s)\1' % CondeNastIE.EMBED_URL, webpage) if mobj is not None: return self.url_result(self._proto_relative_url(mobj.group('url'), scheme='http:'), 'CondeNast') |