]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[CBSNewsIE] Relax thumbnail regex so test passes
authorblissland <blissland.house@googlemail.com>
Fri, 15 May 2015 16:57:32 +0000 (17:57 +0100)
committerblissland <blissland.house@googlemail.com>
Fri, 15 May 2015 16:57:32 +0000 (17:57 +0100)
youtube_dl/extractor/cbsnews.py

index 7e47960ab08f3ffba7a1e596b34c2fbfc7fd6c59..52e61d85b3a20bc939771cee2b94188d32f16d17 100644 (file)
@@ -32,7 +32,7 @@ class CBSNewsIE(InfoExtractor):
                 'id': 'fort-hood-shooting-army-downplays-mental-illness-as-cause-of-attack',
                 'ext': 'flv',
                 'title': 'Fort Hood shooting: Army downplays mental illness as cause of attack',
-                'thumbnail': 'http://cbsnews2.cbsistatic.com/hub/i/r/2014/04/04/0c9fbc66-576b-41ca-8069-02d122060dd2/thumbnail/140x90/6dad7a502f88875ceac38202984b6d58/en-0404-werner-replace-640x360.jpg',
+                'thumbnail': 're:^https?://.*\.jpg$',
                 'duration': 205,
             },
             'params': {