From: Jaime Marquínez Ferrándiz Date: Sat, 9 Nov 2013 17:16:32 +0000 (+0100) Subject: [cnn] Accept www.cnn.com urls (fixes #1740) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=81be02d2f97f63fef0ec6216b8dca2b7184b36a9;p=youtube-dl.git [cnn] Accept www.cnn.com urls (fixes #1740) --- 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.+?/(?P[^/]+?)(?:\.cnn|(?=&)))''' _TESTS = [{