diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-10-09 23:50:53 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-10-09 23:50:53 +0700 |
commit | 197224b7a4e37a6581bf1a0da18d0f67ea61a476 (patch) | |
tree | c2cd8cac66667b65610ca7dc279d0fe98c87ae50 /youtube_dl/extractor/ign.py | |
parent | 89923316210f8e17bb1a085278940e1c56fcff48 (diff) |
Fix some regexes
Diffstat (limited to 'youtube_dl/extractor/ign.py')
-rw-r--r-- | youtube_dl/extractor/ign.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ign.py b/youtube_dl/extractor/ign.py index c1367cf51..a96ea8010 100644 --- a/youtube_dl/extractor/ign.py +++ b/youtube_dl/extractor/ign.py @@ -203,7 +203,7 @@ class PCMagIE(IGNIE): _VALID_URL = r'https?://(?:www\.)?pcmag\.com/(?P<type>videos|article2)(/.+)?/(?P<name_or_id>.+)' IE_NAME = 'pcmag' - _EMBED_RE = r'iframe.setAttribute\("src",\s*__util.objToUrlString\("http://widgets\.ign\.com/video/embed/content.html?[^"]*url=([^"]+)["&]' + _EMBED_RE = r'iframe\.setAttribute\("src",\s*__util.objToUrlString\("http://widgets\.ign\.com/video/embed/content\.html?[^"]*url=([^"]+)["&]' _TESTS = [{ 'url': 'http://www.pcmag.com/videos/2015/01/06/010615-whats-new-now-is-gogo-snooping-on-your-data', |