]>
Commit | Line | Data |
---|---|---|
1 | # coding: utf-8 | |
2 | from __future__ import unicode_literals | |
3 | ||
4 | from .mtv import MTVServicesInfoExtractor | |
5 | ||
6 | # TODO Remove - Reason: Outdated Site | |
7 | ||
8 | ||
9 | class VH1IE(MTVServicesInfoExtractor): | |
10 | IE_NAME = 'vh1.com' | |
11 | _FEED_URL = 'http://www.vh1.com/feeds/mrss/' | |
12 | _TESTS = [{ | |
13 | 'url': 'https://www.vh1.com/episodes/0aqivv/nick-cannon-presents-wild-n-out-foushee-season-16-ep-12', | |
14 | 'info_dict': { | |
15 | 'title': 'Fousheé', | |
16 | '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.', | |
17 | }, | |
18 | 'playlist_mincount': 4, | |
19 | 'skip': '404 Not found', | |
20 | }, { | |
21 | # Clip | |
22 | 'url': 'https://www.vh1.com/video-clips/e0sja0/nick-cannon-presents-wild-n-out-foushee-clap-for-him', | |
23 | 'info_dict': { | |
24 | 'id': 'a07563f7-a37b-4e7f-af68-85855c2c7cc3', | |
25 | 'ext': 'mp4', | |
26 | 'title': 'Fousheé - "clap for him"', | |
27 | '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."', | |
28 | 'upload_date': '20210826', | |
29 | }, | |
30 | 'params': { | |
31 | # m3u8 download | |
32 | 'skip_download': True, | |
33 | }, | |
34 | }] | |
35 | ||
36 | _VALID_URL = r'https?://(?:www\.)?vh1\.com/(?:video-clips|episodes)/(?P<id>[^/?#.]+)' |