]>
Commit | Line | Data |
---|---|---|
1 | from .mtv import MTVServicesInfoExtractor | |
2 | ||
3 | # TODO Remove - Reason: Outdated Site | |
4 | ||
5 | ||
6 | class VH1IE(MTVServicesInfoExtractor): | |
7 | IE_NAME = 'vh1.com' | |
8 | _FEED_URL = 'http://www.vh1.com/feeds/mrss/' | |
9 | _TESTS = [{ | |
10 | 'url': 'https://www.vh1.com/episodes/0aqivv/nick-cannon-presents-wild-n-out-foushee-season-16-ep-12', | |
11 | 'info_dict': { | |
12 | 'title': 'Fousheé', | |
13 | 'description': 'Fousheé joins Team Evolutions fight against Nick and Team Revolution in Baby Daddy, Baby Mama; Kick Em Out the Classroom; Backseat of My Ride and Wildstyle; and Fousheé performs.', | |
14 | }, | |
15 | 'playlist_mincount': 4, | |
16 | 'skip': '404 Not found', | |
17 | }, { | |
18 | # Clip | |
19 | 'url': 'https://www.vh1.com/video-clips/e0sja0/nick-cannon-presents-wild-n-out-foushee-clap-for-him', | |
20 | 'info_dict': { | |
21 | 'id': 'a07563f7-a37b-4e7f-af68-85855c2c7cc3', | |
22 | 'ext': 'mp4', | |
23 | 'title': 'Fousheé - "clap for him"', | |
24 | 'description': 'Singer Fousheé hits the Wild N Out: In the Dark stage with a performance of the tongue-in-cheek track "clap for him" from her 2021 album "time machine."', | |
25 | 'upload_date': '20210826', | |
26 | }, | |
27 | 'params': { | |
28 | # m3u8 download | |
29 | 'skip_download': True, | |
30 | }, | |
31 | }] | |
32 | ||
33 | _VALID_URL = r'https?://(?:www\.)?vh1\.com/(?:video-clips|episodes)/(?P<id>[^/?#.]+)' |