1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-09-05 10:29:35 +02:00

[extractor/unsupported] Add more URLs

Closes #5557, Closes #2744, Closes #5578
This commit is contained in:
pukkandan 2022-11-19 08:42:06 +05:30
parent ed027fd9d8
commit 8486540257
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -39,20 +39,22 @@ class KnownDRMIE(UnsupportedInfoExtractor):
r'(?:[\w\.]+\.)?mech-plus\.com', r'(?:[\w\.]+\.)?mech-plus\.com',
r'aha\.video', r'aha\.video',
r'mubi\.com', r'mubi\.com',
r'vootkids\.com' r'vootkids\.com',
r'nowtv\.it/watch',
r'tv\.apple\.com',
) )
_TESTS = [{ _TESTS = [{
# https://github.com/yt-dlp/yt-dlp/issues/4309 # https://github.com/yt-dlp/yt-dlp/issues/4309
'url': 'https://www.peacocktv.com', 'url': 'https://peacocktv.com/watch/playback/vod/GMO_00000000073159_01/f9d03003-eb04-3c7f-a7b6-a83ab7eb55bc',
'only_matching': True, 'only_matching': True,
}, { }, {
# https://github.com/yt-dlp/yt-dlp/issues/1719, # https://github.com/yt-dlp/yt-dlp/issues/1719,
'url': 'https://www.channel4.com', 'url': 'https://www.channel4.com/programmes/gurren-lagann/on-demand/69960-001',
'only_matching': True, 'only_matching': True,
}, { }, {
# https://github.com/yt-dlp/yt-dlp/issues/1548 # https://github.com/yt-dlp/yt-dlp/issues/1548
'url': 'https://www.channel5.com', 'url': 'https://www.channel5.com/show/uk-s-strongest-man-2021/season-2021/episode-1',
'only_matching': True, 'only_matching': True,
}, { }, {
'url': r'https://hsesn.apps.disneyplus.com', 'url': r'https://hsesn.apps.disneyplus.com',
@ -67,39 +69,47 @@ class KnownDRMIE(UnsupportedInfoExtractor):
'url': 'https://open.spotify.com/track/', 'url': 'https://open.spotify.com/track/',
'only_matching': True, 'only_matching': True,
}, { }, {
# TVNZ: https://github.com/yt-dlp/yt-dlp/issues/4122 # https://github.com/yt-dlp/yt-dlp/issues/4122
'url': 'https://tvnz.co.nz', 'url': 'https://www.tvnz.co.nz/shows/ice-airport-alaska/episodes/s1-e1',
'only_matching': True, 'only_matching': True,
}, { }, {
# https://github.com/yt-dlp/yt-dlp/issues/1922 # https://github.com/yt-dlp/yt-dlp/issues/1922
'url': 'https://www.oneplus.ch', 'url': 'https://www.oneplus.ch/play/1008188',
'only_matching': True, 'only_matching': True,
}, { }, {
# https://github.com/yt-dlp/yt-dlp/issues/1140 # https://github.com/yt-dlp/yt-dlp/issues/1140
'url': 'https://www.artstation.com/learning/courses/', 'url': 'https://www.artstation.com/learning/courses/dqQ/character-design-masterclass-with-serge-birault/chapters/Rxn3/introduction',
'only_matching': True, 'only_matching': True,
}, { }, {
# https://github.com/yt-dlp/yt-dlp/issues/3544 # https://github.com/yt-dlp/yt-dlp/issues/3544
'url': 'https://www.philo.com', 'url': 'https://www.philo.com/player/player/vod/Vk9EOjYwODU0ODg5OTY0ODY0OTQ5NA',
'only_matching': True, 'only_matching': True,
}, { }, {
# https://github.com/yt-dlp/yt-dlp/issues/3533 # https://github.com/yt-dlp/yt-dlp/issues/3533
'url': 'https://www.mech-plus.com/', 'url': 'https://www.mech-plus.com/player/24892/stream?assetType=episodes&playlist_id=6',
'only_matching': True, 'only_matching': True,
}, { }, {
'url': 'https://watch.mech-plus.com/', 'url': 'https://watch.mech-plus.com/details/25240?playlist_id=6',
'only_matching': True, 'only_matching': True,
}, { }, {
# https://github.com/yt-dlp/yt-dlp/issues/2934 # https://github.com/yt-dlp/yt-dlp/issues/2934
'url': 'https://www.aha.video', 'url': 'https://www.aha.video/player/movie/lucky-man',
'only_matching': True, 'only_matching': True,
}, { }, {
# https://github.com/yt-dlp/yt-dlp/issues/2743 # https://github.com/yt-dlp/yt-dlp/issues/2743
'url': 'https://mubi.com', 'url': 'https://mubi.com/films/the-night-doctor',
'only_matching': True, 'only_matching': True,
}, { }, {
# https://github.com/yt-dlp/yt-dlp/issues/3287 # https://github.com/yt-dlp/yt-dlp/issues/3287
'url': 'https://www.vootkids.com', 'url': 'https://www.vootkids.com/movies/chhota-bheem-the-rise-of-kirmada/764459',
'only_matching': True,
}, {
# https://github.com/yt-dlp/yt-dlp/issues/2744
'url': 'https://www.nowtv.it/watch/home/asset/and-just-like-that/skyserie_f8fe979772e8437d8a61ab83b6d293e9/seasons/1/episodes/8/R_126182_HD',
'only_matching': True,
}, {
# https://github.com/yt-dlp/yt-dlp/issues/5557
'url': 'https://tv.apple.com/it/show/loot---una-fortuna/umc.cmc.5erbujil1mpazuerhr1udnk45?ctx_brand=tvs.sbd.4000',
'only_matching': True, 'only_matching': True,
}] }]
@ -119,7 +129,7 @@ class KnownPiracyIE(UnsupportedInfoExtractor):
""" """
URLS = ( URLS = (
r'dood\.(?:to|watch|so|pm|wf|ru)', r'dood\.(?:to|watch|so|pm|wf|re)',
) )
_TESTS = [{ _TESTS = [{