mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-07 00:35:18 +00:00
[ie/mtv] Overhaul extractors (#14052)
Adds SouthParkComBrIE and SouthParkCoUkIE Removes these extractors: - CMTIE: migrated to Paramount+ - ComedyCentralTVIE: migrated to Paramount+ - MTVDEIE: migrated to Paramount+ - MTVItaliaIE: migrated to Paramount+ - MTVItaliaProgrammaIE: migrated to Paramount+ - MTVJapanIE: migrated to JP Services - MTVServicesEmbeddedIE: dead domain - MTVVideoIE: migrated to Paramount+ - NickBrIE: redirects to landing page w/o any videos - NickDeIE: redirects to landing page w/o any videos - NickRuIE: redirects to landing page w/o any videos - BellatorIE: migrated to PFL - ParamountNetworkIE: migrated to Paramount+ - SouthParkNlIE: site no longer exists - TVLandIE: migrated to Paramount+ Closes #169, Closes #1711, Closes #1712, Closes #2621, Closes #3167, Closes #3893, Closes #4552, Closes #4702, Closes #4928, Closes #5249, Closes #6156, Closes #8722, Closes #9896, Closes #10168, Closes #12765, Closes #13446, Closes #14009 Authored by: bashonly, doe1080, Randalix, seproDev Co-authored-by: doe1080 <98906116+doe1080@users.noreply.github.com> Co-authored-by: Randalix <23729538+Randalix@users.noreply.github.com> Co-authored-by: sepro <sepro@sepr0.com>
This commit is contained in:
@@ -1,33 +1,50 @@
|
||||
from .mtv import MTVServicesInfoExtractor
|
||||
|
||||
# TODO: Remove - Reason: Outdated Site
|
||||
from .mtv import MTVServicesBaseIE
|
||||
|
||||
|
||||
class VH1IE(MTVServicesInfoExtractor):
|
||||
class VH1IE(MTVServicesBaseIE):
|
||||
IE_NAME = 'vh1.com'
|
||||
_FEED_URL = 'http://www.vh1.com/feeds/mrss/'
|
||||
_VALID_URL = r'https?://(?:www\.)?vh1\.com/(?:video-clips|episodes)/(?P<id>[\da-z]{6})'
|
||||
_TESTS = [{
|
||||
'url': 'https://www.vh1.com/episodes/0aqivv/nick-cannon-presents-wild-n-out-foushee-season-16-ep-12',
|
||||
'url': 'https://www.vh1.com/episodes/d06ta1/barely-famous-barely-famous-season-1-ep-1',
|
||||
'info_dict': {
|
||||
'title': 'Fousheé',
|
||||
'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.',
|
||||
},
|
||||
'playlist_mincount': 4,
|
||||
'skip': '404 Not found',
|
||||
}, {
|
||||
# Clip
|
||||
'url': 'https://www.vh1.com/video-clips/e0sja0/nick-cannon-presents-wild-n-out-foushee-clap-for-him',
|
||||
'info_dict': {
|
||||
'id': 'a07563f7-a37b-4e7f-af68-85855c2c7cc3',
|
||||
'id': '4af4cf2c-a854-11e4-9596-0026b9414f30',
|
||||
'ext': 'mp4',
|
||||
'title': 'Fousheé - "clap for him"',
|
||||
'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."',
|
||||
'upload_date': '20210826',
|
||||
'display_id': 'd06ta1',
|
||||
'title': 'Barely Famous',
|
||||
'description': 'md5:6da5c9d88012eba0a80fc731c99b5fed',
|
||||
'channel': 'VH1',
|
||||
'duration': 1280.0,
|
||||
'thumbnail': r're:https://images\.paramount\.tech/uri/mgid:arc:imageassetref:',
|
||||
'series': 'Barely Famous',
|
||||
'season': 'Season 1',
|
||||
'season_number': 1,
|
||||
'episode': 'Episode 1',
|
||||
'episode_number': 1,
|
||||
'timestamp': 1426680000,
|
||||
'upload_date': '20150318',
|
||||
'release_timestamp': 1426680000,
|
||||
'release_date': '20150318',
|
||||
},
|
||||
'params': {
|
||||
# m3u8 download
|
||||
'skip_download': True,
|
||||
'params': {'skip_download': 'm3u8'},
|
||||
}, {
|
||||
'url': 'https://www.vh1.com/video-clips/ryzt2n/love-hip-hop-miami-love-hip-hop-miami-season-5-recap',
|
||||
'info_dict': {
|
||||
'id': '59e62974-4a5c-4417-91c3-5044cb2f4ce2',
|
||||
'ext': 'mp4',
|
||||
'display_id': 'ryzt2n',
|
||||
'title': 'Love & Hip Hop Miami - Season 5 Recap',
|
||||
'description': 'md5:4e49c65d0007bfc8d06db555a6b76ef0',
|
||||
'duration': 792.083,
|
||||
'thumbnail': r're:https://images\.paramount\.tech/uri/mgid:arc:imageassetref:',
|
||||
'series': 'Love & Hip Hop Miami',
|
||||
'season': 'Season 6',
|
||||
'season_number': 6,
|
||||
'episode': 'Episode 0',
|
||||
'episode_number': 0,
|
||||
'timestamp': 1732597200,
|
||||
'upload_date': '20241126',
|
||||
'release_timestamp': 1732597200,
|
||||
'release_date': '20241126',
|
||||
},
|
||||
'params': {'skip_download': 'm3u8'},
|
||||
}]
|
||||
|
||||
_VALID_URL = r'https?://(?:www\.)?vh1\.com/(?:video-clips|episodes)/(?P<id>[^/?#.]+)'
|
||||
|
||||
Reference in New Issue
Block a user