]>
Commit | Line | Data |
---|---|---|
a0f071a5 RA |
1 | # coding: utf-8 |
2 | from __future__ import unicode_literals | |
3 | ||
8bdd16b4 | 4 | from .nbc import NBCIE |
a0f071a5 RA |
5 | |
6 | ||
8bdd16b4 | 7 | class USANetworkIE(NBCIE): |
8 | _VALID_URL = r'https?(?P<permalink>://(?:www\.)?usanetwork\.com/(?:[^/]+/videos?|movies?)/(?:[^/]+/)?(?P<id>\d+))' | |
9 | _TESTS = [{ | |
10 | 'url': 'https://www.usanetwork.com/peacock-trailers/video/intelligence-trailer/4185302', | |
a0f071a5 | 11 | 'info_dict': { |
8bdd16b4 | 12 | 'id': '4185302', |
a0f071a5 | 13 | 'ext': 'mp4', |
8bdd16b4 | 14 | 'title': 'Intelligence (Trailer)', |
15 | 'description': 'A maverick NSA agent enlists the help of a junior systems analyst in a workplace power grab.', | |
16 | 'upload_date': '20200715', | |
17 | 'timestamp': 1594785600, | |
18 | 'uploader': 'NBCU-MPAT', | |
a0f071a5 | 19 | }, |
8bdd16b4 | 20 | 'params': { |
21 | # m3u8 download | |
22 | 'skip_download': True, | |
23 | }, | |
24 | }] |