summaryrefslogtreecommitdiffhomepage
path: root/youtube_dl
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2014-10-19 15:14:37 +0200
committerJaime Marquínez Ferrándiz <[email protected]>2014-10-19 15:14:37 +0200
commitcc98a3f09651423f4405933265c6dcf2ae51011f (patch)
treee5382507c206f56305ef88fcdc08bb2ee0827cc2 /youtube_dl
parent16efb3695f4e3a07e492a4206cb2901c05ac7c65 (diff)
downloadyoutube-dl-cc98a3f09651423f4405933265c6dcf2ae51011f.tar.gz
youtube-dl-cc98a3f09651423f4405933265c6dcf2ae51011f.zip
[cnn] Fix for urls ending in '.cnn-ap' (fixes #3985)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/cnn.py2
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',