mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-28 22:24:34 +01:00
[cnn] Accept www.cnn.com urls (fixes #1740)
This commit is contained in:
parent
c2b6a482d5
commit
81be02d2f9
1 changed files with 1 additions and 1 deletions
|
@ -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 = [{
|
||||
|
|
Loading…
Reference in a new issue