aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/nbc.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2015-08-01 21:43:33 +0600
committerSergey M․ <[email protected]>2015-08-01 21:43:33 +0600
commit3f125c8c70e8109bc90d4446b40740133e343b85 (patch)
tree6d3c4b9d5f27950266a352e624d83c52eafd1128 /youtube_dl/extractor/nbc.py
parent75e8b2ac87e77db5a752317fcf03cef54c1536d0 (diff)
downloadyoutube-dl-3f125c8c70e8109bc90d4446b40740133e343b85.tar.gz
youtube-dl-3f125c8c70e8109bc90d4446b40740133e343b85.zip
[nbcnews] Extend _VALID_URL
Diffstat (limited to 'youtube_dl/extractor/nbc.py')
-rw-r--r--youtube_dl/extractor/nbc.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nbc.py b/youtube_dl/extractor/nbc.py
index dc2091be0..ccdbfb6c9 100644
--- a/youtube_dl/extractor/nbc.py
+++ b/youtube_dl/extractor/nbc.py
@@ -124,7 +124,7 @@ class NBCSportsIE(InfoExtractor):
class NBCNewsIE(InfoExtractor):
_VALID_URL = r'''(?x)https?://(?:www\.)?nbcnews\.com/
(?:video/.+?/(?P<id>\d+)|
- (?:feature|nightly-news)/[^/]+/(?P<title>.+))
+ (?:watch|feature|nightly-news)/[^/]+/(?P<title>.+))
'''
_TESTS = [
@@ -169,6 +169,10 @@ class NBCNewsIE(InfoExtractor):
'description': 'md5:1c10c1eccbe84a26e5debb4381e2d3c5',
},
},
+ {
+ 'url': 'http://www.nbcnews.com/watch/dateline/full-episode--deadly-betrayal-386250819952',
+ 'only_matching': True,
+ },
]
def _real_extract(self, url):