mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-29 03:23:02 +00:00
8bdd16b499
Old Extractors left behind: VLivePlaylistIE YoutubeSearchURLIE YoutubeShowIE YoutubeFavouritesIE If removing old extractors, make corresponding changes in docs/supportedsites.md youtube_dlc/extractor/extractors.py Not merged: .github/ISSUE_TEMPLATE/1_broken_site.md .github/ISSUE_TEMPLATE/2_site_support_request.md .github/ISSUE_TEMPLATE/3_site_feature_request.md .github/ISSUE_TEMPLATE/4_bug_report.md .github/ISSUE_TEMPLATE/5_feature_request.md test/test_all_urls.py youtube_dlc/version.py Changelog
24 lines
814 B
Python
24 lines
814 B
Python
# coding: utf-8
|
|
from __future__ import unicode_literals
|
|
|
|
from .nbc import NBCIE
|
|
|
|
|
|
class USANetworkIE(NBCIE):
|
|
_VALID_URL = r'https?(?P<permalink>://(?:www\.)?usanetwork\.com/(?:[^/]+/videos?|movies?)/(?:[^/]+/)?(?P<id>\d+))'
|
|
_TESTS = [{
|
|
'url': 'https://www.usanetwork.com/peacock-trailers/video/intelligence-trailer/4185302',
|
|
'info_dict': {
|
|
'id': '4185302',
|
|
'ext': 'mp4',
|
|
'title': 'Intelligence (Trailer)',
|
|
'description': 'A maverick NSA agent enlists the help of a junior systems analyst in a workplace power grab.',
|
|
'upload_date': '20200715',
|
|
'timestamp': 1594785600,
|
|
'uploader': 'NBCU-MPAT',
|
|
},
|
|
'params': {
|
|
# m3u8 download
|
|
'skip_download': True,
|
|
},
|
|
}]
|