]>
Commit | Line | Data |
---|---|---|
1 | from .nbc import NBCIE | |
2 | ||
3 | ||
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', | |
16 | }, | |
17 | 'params': { | |
18 | # m3u8 download | |
19 | 'skip_download': True, | |
20 | }, | |
21 | }] |