[cleanup] Misc (#8968)
[yt-dlp.git] / yt_dlp / extractor / usanetwork.py
blob4a06a9ad403d5a23b3d8d1596350b696eafaf7c7
1 from .nbc import NBCIE
4 class USANetworkIE(NBCIE): # XXX: Do not subclass from concrete IE
5 _VALID_URL = r'https?(?P<permalink>://(?:www\.)?usanetwork\.com/(?:[^/]+/videos?|movies?)/(?:[^/]+/)?(?P<id>\d+))'
6 _TESTS = [{
7 'url': 'https://www.usanetwork.com/peacock-trailers/video/intelligence-trailer/4185302',
8 'info_dict': {
9 'id': '4185302',
10 'ext': 'mp4',
11 'title': 'Intelligence (Trailer)',
12 'description': 'A maverick NSA agent enlists the help of a junior systems analyst in a workplace power grab.',
13 'upload_date': '20200715',
14 'timestamp': 1594785600,
15 'uploader': 'NBCU-MPAT',
17 'params': {
18 # m3u8 download
19 'skip_download': True,