diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-10-19 15:14:37 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-10-19 15:14:37 +0200 |
commit | cc98a3f09651423f4405933265c6dcf2ae51011f (patch) | |
tree | e5382507c206f56305ef88fcdc08bb2ee0827cc2 /youtube_dl/extractor/cnn.py | |
parent | 16efb3695f4e3a07e492a4206cb2901c05ac7c65 (diff) |
[cnn] Fix for urls ending in '.cnn-ap' (fixes #3985)
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 dae40c136..78877b1cf 100644 --- a/youtube_dl/extractor/cnn.py +++ b/youtube_dl/extractor/cnn.py @@ -12,7 +12,7 @@ from ..utils import ( class CNNIE(InfoExtractor): _VALID_URL = r'''(?x)https?://((edition|www)\.)?cnn\.com/video/(data/.+?|\?)/ - (?P<path>.+?/(?P<title>[^/]+?)(?:\.cnn|(?=&)))''' + (?P<path>.+?/(?P<title>[^/]+?)(?:\.cnn(-ap)?|(?=&)))''' _TESTS = [{ 'url': 'http://edition.cnn.com/video/?/video/sports/2013/06/09/nadal-1-on-1.cnn', |