diff --git a/youtube_dl/extractor/nbc.py b/youtube_dl/extractor/nbc.py index bec1a93c3..1be3e8f47 100644 --- a/youtube_dl/extractor/nbc.py +++ b/youtube_dl/extractor/nbc.py @@ -15,7 +15,7 @@ from ..utils import ( class NBCIE(AdobePassIE): - _VALID_URL = r'https?(?P://(?:www\.)?nbc\.com/(?:classic-tv/|)[^/]+/video/[^/]+/(?Pn?\d+))' + _VALID_URL = r'https?(?P://(?:www\.)?nbc\.com/(?:classic-tv/)?[^/]+/video/[^/]+/(?Pn?\d+))' _TESTS = [ { @@ -68,6 +68,23 @@ class NBCIE(AdobePassIE): }, 'skip': 'Only works from US', } + { + 'url': 'https://www.nbc.com/classic-tv/charles-in-charge/video/charles-in-charge-pilot/n3310', + 'info_dict': { + 'id': 'n3310', + 'ext': 'mp4', + 'title': 'Charles in Charge: Pilot', + 'description': 'Charles\' attempt to impress the campus beauty goes awry.', + 'timestamp': 465638400, + 'upload_date': '19841003', + 'uploader': 'NBCU-COM', + }, + 'params': { + # m3u8 download + 'skip_download': True, + }, + 'skip': 'Only works from US', + }, ] def _real_extract(self, url):