[nbcnews] Extend _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Sat, 1 Aug 2015 15:43:33 +0000 (21:43 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 1 Aug 2015 15:43:33 +0000 (21:43 +0600)
youtube_dl/extractor/nbc.py

index dc2091be0d0c8706b2f3b6d78d88fa22fcb8b6d1..ccdbfb6c9c42c3eb22101eb2f7080b4bda1df00d 100644 (file)
@@ -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):