diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-11-09 18:16:32 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-11-09 18:16:32 +0100 |
commit | 81be02d2f97f63fef0ec6216b8dca2b7184b36a9 (patch) | |
tree | 2f7ca651ea3c193616930bc9328234fb0295b566 /youtube_dl/extractor/cnn.py | |
parent | c2b6a482d5aadd40972944694307fca3d4d352f0 (diff) |
[cnn] Accept www.cnn.com urls (fixes #1740)
Diffstat (limited to 'youtube_dl/extractor/cnn.py')
-rw-r--r-- | youtube_dl/extractor/cnn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cnn.py b/youtube_dl/extractor/cnn.py index a79f881cd..34adf6dda 100644 --- a/youtube_dl/extractor/cnn.py +++ b/youtube_dl/extractor/cnn.py @@ -6,7 +6,7 @@ from ..utils import determine_ext class CNNIE(InfoExtractor): - _VALID_URL = r'''(?x)https?://(edition\.)?cnn\.com/video/(data/.+?|\?)/ + _VALID_URL = r'''(?x)https?://((edition|www)\.)?cnn\.com/video/(data/.+?|\?)/ (?P<path>.+?/(?P<title>[^/]+?)(?:\.cnn|(?=&)))''' _TESTS = [{ |