summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/vh1.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:49:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:49:24 +0000
commit2415e66f889f38503b73e8ebc5f43ca342390e5c (patch)
treeac48ab69d1d96bae3d83756134921e0d90593aa5 /yt_dlp/extractor/vh1.py
parentInitial commit. (diff)
downloadyt-dlp-2415e66f889f38503b73e8ebc5f43ca342390e5c.tar.xz
yt-dlp-2415e66f889f38503b73e8ebc5f43ca342390e5c.zip
Adding upstream version 2024.03.10.upstream/2024.03.10
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'yt_dlp/extractor/vh1.py')
-rw-r--r--yt_dlp/extractor/vh1.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/yt_dlp/extractor/vh1.py b/yt_dlp/extractor/vh1.py
new file mode 100644
index 0000000..41b8a46
--- /dev/null
+++ b/yt_dlp/extractor/vh1.py
@@ -0,0 +1,33 @@
+from .mtv import MTVServicesInfoExtractor
+
+# TODO Remove - Reason: Outdated Site
+
+
+class VH1IE(MTVServicesInfoExtractor):
+ IE_NAME = 'vh1.com'
+ _FEED_URL = 'http://www.vh1.com/feeds/mrss/'
+ _TESTS = [{
+ 'url': 'https://www.vh1.com/episodes/0aqivv/nick-cannon-presents-wild-n-out-foushee-season-16-ep-12',
+ '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',
+ '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',
+ },
+ 'params': {
+ # m3u8 download
+ 'skip_download': True,
+ },
+ }]
+
+ _VALID_URL = r'https?://(?:www\.)?vh1\.com/(?:video-clips|episodes)/(?P<id>[^/?#.]+)'