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