mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-15 00:48:28 +00:00
Apply suggestions
This commit is contained in:
parent
c49dce563e
commit
ed6d484f80
@ -246,6 +246,7 @@ class AdobeTVVideoIE(AdobeTVBaseIE):
|
|||||||
},
|
},
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Invalid extension
|
||||||
'url': 'https://www.adobe.com/learn/acrobat/web/customize-toolbar',
|
'url': 'https://www.adobe.com/learn/acrobat/web/customize-toolbar',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '3463980',
|
'id': '3463980',
|
||||||
@ -254,7 +255,6 @@ class AdobeTVVideoIE(AdobeTVBaseIE):
|
|||||||
'description': 'md5:94368ab95ae24f9c1bee0cb346e03dc3',
|
'description': 'md5:94368ab95ae24f9c1bee0cb346e03dc3',
|
||||||
'duration': 97.557,
|
'duration': 97.557,
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required; invalid extension',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -254,6 +254,7 @@ class ArteTVEmbedIE(InfoExtractor):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Embed detection
|
||||||
'url': 'https://timesofmalta.com/article/watch-sunken-warships-north-sea-arte.1108358',
|
'url': 'https://timesofmalta.com/article/watch-sunken-warships-north-sea-arte.1108358',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '110288-000-A',
|
'id': '110288-000-A',
|
||||||
@ -267,15 +268,14 @@ class ArteTVEmbedIE(InfoExtractor):
|
|||||||
'upload_date': '20250311',
|
'upload_date': '20250311',
|
||||||
},
|
},
|
||||||
'params': {'skip_download': 'm3u8'},
|
'params': {'skip_download': 'm3u8'},
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}, {
|
}, {
|
||||||
|
# FIXME: Embed detection
|
||||||
'url': 'https://www.eurockeennes.fr/en-live/',
|
'url': 'https://www.eurockeennes.fr/en-live/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'en-live',
|
'id': 'en-live',
|
||||||
'title': 'Les Eurocks en live | Les Eurockéennes de Belfort – 3-4-5-6 juillet 2025 sur la Presqu'Île du Malsaucy',
|
'title': 'Les Eurocks en live | Les Eurockéennes de Belfort – 3-4-5-6 juillet 2025 sur la Presqu'Île du Malsaucy',
|
||||||
},
|
},
|
||||||
'playlist_count': 4,
|
'playlist_count': 4,
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -122,6 +122,7 @@ class BandcampIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Embed detection
|
||||||
'url': 'https://www.punknews.org/article/85809/stay-inside-super-sonic',
|
'url': 'https://www.punknews.org/article/85809/stay-inside-super-sonic',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '2475540375',
|
'id': '2475540375',
|
||||||
@ -143,7 +144,6 @@ class BandcampIE(InfoExtractor):
|
|||||||
'uploader_id': 'stayinside',
|
'uploader_id': 'stayinside',
|
||||||
'uploader_url': 'https://stayinside.bandcamp.com',
|
'uploader_url': 'https://stayinside.bandcamp.com',
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _extract_data_attr(self, webpage, video_id, attr='tralbum', fatal=True):
|
def _extract_data_attr(self, webpage, video_id, attr='tralbum', fatal=True):
|
||||||
|
@ -59,6 +59,7 @@ class CloudflareStreamIE(InfoExtractor):
|
|||||||
'skip_download': 'm3u8',
|
'skip_download': 'm3u8',
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
|
# FIXME: Embed detection
|
||||||
'url': 'https://www.cloudflare.com/developer-platform/products/cloudflare-stream/',
|
'url': 'https://www.cloudflare.com/developer-platform/products/cloudflare-stream/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'e7bd2dd67e0f8860b4ae81e33a966049',
|
'id': 'e7bd2dd67e0f8860b4ae81e33a966049',
|
||||||
@ -66,7 +67,6 @@ class CloudflareStreamIE(InfoExtractor):
|
|||||||
'title': 'e7bd2dd67e0f8860b4ae81e33a966049',
|
'title': 'e7bd2dd67e0f8860b4ae81e33a966049',
|
||||||
'thumbnail': r're:https?://cloudflarestream\.com/.+\.jpg',
|
'thumbnail': r're:https?://cloudflarestream\.com/.+\.jpg',
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -97,6 +97,7 @@ class CondeNastIE(InfoExtractor):
|
|||||||
'timestamp': 1442434920,
|
'timestamp': 1442434920,
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
|
# FIXME: Subtitles
|
||||||
'url': 'https://www.vanityfair.com/video/watch/vf-quiz-show-squid-game-s3',
|
'url': 'https://www.vanityfair.com/video/watch/vf-quiz-show-squid-game-s3',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '6862f999c1afbc5ff06b4803',
|
'id': '6862f999c1afbc5ff06b4803',
|
||||||
@ -113,7 +114,6 @@ class CondeNastIE(InfoExtractor):
|
|||||||
'upload_date': '20250701',
|
'upload_date': '20250701',
|
||||||
'uploader': 'vanityfair',
|
'uploader': 'vanityfair',
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required; subtitles extraction',
|
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://player.cnevids.com/inline/video/59138decb57ac36b83000005.js?target=js-cne-player',
|
'url': 'https://player.cnevids.com/inline/video/59138decb57ac36b83000005.js?target=js-cne-player',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
@ -27,6 +27,7 @@ class DBTVIE(InfoExtractor):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Embed detection
|
||||||
'url': 'https://www.dagbladet.no/nyheter/rekordstort-russisk-angrep/83325693',
|
'url': 'https://www.dagbladet.no/nyheter/rekordstort-russisk-angrep/83325693',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '1HW7fYry',
|
'id': '1HW7fYry',
|
||||||
@ -38,7 +39,6 @@ class DBTVIE(InfoExtractor):
|
|||||||
'timestamp': 1751043600,
|
'timestamp': 1751043600,
|
||||||
'upload_date': '20250627',
|
'upload_date': '20250627',
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -427,6 +427,7 @@ class FacebookIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
'expected_warnings': ['unable to extract uploader'],
|
'expected_warnings': ['unable to extract uploader'],
|
||||||
}, {
|
}, {
|
||||||
|
# FIXME: Embed detection
|
||||||
# <iframe> embed, plugin video
|
# <iframe> embed, plugin video
|
||||||
'url': 'https://www.newsmemory.com/eedition/e-publishing-solutions/2-in-one-app/',
|
'url': 'https://www.newsmemory.com/eedition/e-publishing-solutions/2-in-one-app/',
|
||||||
'md5': 'ae97d4a44f8cc9a8b1a4c03b9ed793af',
|
'md5': 'ae97d4a44f8cc9a8b1a4c03b9ed793af',
|
||||||
@ -445,7 +446,6 @@ class FacebookIE(InfoExtractor):
|
|||||||
'view_count': int,
|
'view_count': int,
|
||||||
},
|
},
|
||||||
'expected_warnings': ['Cannot parse data'],
|
'expected_warnings': ['Cannot parse data'],
|
||||||
'skip': 'IE fix required: embed detection',
|
|
||||||
}, {
|
}, {
|
||||||
# API embed
|
# API embed
|
||||||
'url': 'https://www.curs.md/ro',
|
'url': 'https://www.curs.md/ro',
|
||||||
|
@ -271,6 +271,7 @@ class GenericIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
'playlist_count': 3,
|
'playlist_count': 3,
|
||||||
}, {
|
}, {
|
||||||
|
# FIXME: Improve extraction
|
||||||
# Flowplayer
|
# Flowplayer
|
||||||
# https://github.com/ytdl-org/youtube-dl/commit/4d805e063c6c4ffd557d7c7cb905a3ed9c926b08
|
# https://github.com/ytdl-org/youtube-dl/commit/4d805e063c6c4ffd557d7c7cb905a3ed9c926b08
|
||||||
'url': 'https://flowplayer.com/resources/demos/standard-setup',
|
'url': 'https://flowplayer.com/resources/demos/standard-setup',
|
||||||
@ -283,7 +284,6 @@ class GenericIE(InfoExtractor):
|
|||||||
'upload_date': '20181009',
|
'upload_date': '20181009',
|
||||||
},
|
},
|
||||||
'params': {'skip_download': 'm3u8'},
|
'params': {'skip_download': 'm3u8'},
|
||||||
'skip': 'Extraction needs improvement',
|
|
||||||
}, {
|
}, {
|
||||||
# JW Player: YouTube
|
# JW Player: YouTube
|
||||||
# https://github.com/ytdl-org/youtube-dl/commit/a0f719854463c6f4226e4042dfa80c1b17154e1d
|
# https://github.com/ytdl-org/youtube-dl/commit/a0f719854463c6f4226e4042dfa80c1b17154e1d
|
||||||
@ -399,6 +399,7 @@ class GenericIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
'expected_warnings': ['Untested major version'],
|
'expected_warnings': ['Untested major version'],
|
||||||
}, {
|
}, {
|
||||||
|
# FIXME: Unable to extract flashvars
|
||||||
# KVS Player v7.11.4
|
# KVS Player v7.11.4
|
||||||
# kt_player.js?v=2.11.5.1
|
# kt_player.js?v=2.11.5.1
|
||||||
# https://github.com/yt-dlp/yt-dlp/commit/a318f59d14792d25b2206c3f50181e03e8716db7
|
# https://github.com/yt-dlp/yt-dlp/commit/a318f59d14792d25b2206c3f50181e03e8716db7
|
||||||
@ -408,7 +409,6 @@ class GenericIE(InfoExtractor):
|
|||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Kelis - 4th Of July',
|
'title': 'Kelis - 4th Of July',
|
||||||
},
|
},
|
||||||
'skip': 'Unable to extract flashvars',
|
|
||||||
}, {
|
}, {
|
||||||
# KVS Player v7.11.4
|
# KVS Player v7.11.4
|
||||||
# kt_player.js?v=6.3.2
|
# kt_player.js?v=6.3.2
|
||||||
@ -434,11 +434,10 @@ class GenericIE(InfoExtractor):
|
|||||||
'age_limit': 0,
|
'age_limit': 0,
|
||||||
'description': 'md5:5bdf23fcb76801dc3b31e74cabf82147',
|
'description': 'md5:5bdf23fcb76801dc3b31e74cabf82147',
|
||||||
'thumbnail': r're:https?://beltzlaw\.com/wp-content/uploads/.+\.jpg',
|
'thumbnail': r're:https?://beltzlaw\.com/wp-content/uploads/.+\.jpg',
|
||||||
'timestamp': 1753961749,
|
'timestamp': int, # varies
|
||||||
'upload_date': '20250731',
|
'upload_date': str,
|
||||||
'_old_archive_ids': ['generic beltzlaw'],
|
'_old_archive_ids': ['generic beltzlaw'],
|
||||||
},
|
},
|
||||||
'skip': 'timestamp varies',
|
|
||||||
}, {
|
}, {
|
||||||
# twitter:player
|
# twitter:player
|
||||||
# https://github.com/ytdl-org/youtube-dl/commit/329179073b93e37ab76e759d1fe96d8f984367f3
|
# https://github.com/ytdl-org/youtube-dl/commit/329179073b93e37ab76e759d1fe96d8f984367f3
|
||||||
|
@ -159,12 +159,12 @@ class GlomexEmbedIE(GlomexBaseIE):
|
|||||||
},
|
},
|
||||||
'playlist_count': 100,
|
'playlist_count': 100,
|
||||||
}, {
|
}, {
|
||||||
|
# Geo-restricted
|
||||||
'url': 'https://player.glomex.com/integration/1/iframe-player.html?playlistId=cl-bgqaata6aw8x&integrationId=19syy24xjn1oqlpc',
|
'url': 'https://player.glomex.com/integration/1/iframe-player.html?playlistId=cl-bgqaata6aw8x&integrationId=19syy24xjn1oqlpc',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'cl-bgqaata6aw8x',
|
'id': 'cl-bgqaata6aw8x',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 2,
|
'playlist_mincount': 2,
|
||||||
'skip': 'Geo-restricted',
|
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
'url': 'https://www.skai.gr/news/world/iatrikos-syllogos-tourkias-to-turkovac-aplo-dialyma-erntogan-eiste-apateones-kai-pseytes',
|
'url': 'https://www.skai.gr/news/world/iatrikos-syllogos-tourkias-to-turkovac-aplo-dialyma-erntogan-eiste-apateones-kai-pseytes',
|
||||||
|
@ -45,13 +45,13 @@ class JojIE(InfoExtractor):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Embed detection
|
||||||
'url': 'https://www.noviny.sk/slovensko/238543-slovenskom-sa-prehnala-vlna-silnych-burok',
|
'url': 'https://www.noviny.sk/slovensko/238543-slovenskom-sa-prehnala-vlna-silnych-burok',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '238543-slovenskom-sa-prehnala-vlna-silnych-burok',
|
'id': '238543-slovenskom-sa-prehnala-vlna-silnych-burok',
|
||||||
'title': 'Slovenskom sa prehnala vlna silných búrok',
|
'title': 'Slovenskom sa prehnala vlna silných búrok',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 5,
|
'playlist_mincount': 5,
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -35,7 +35,7 @@ class JWPlatformIE(InfoExtractor):
|
|||||||
'description': '',
|
'description': '',
|
||||||
'duration': 294.0,
|
'duration': 294.0,
|
||||||
},
|
},
|
||||||
'skip': 'Site changed',
|
'skip': 'Site no longer embeds JWPlatform',
|
||||||
}, {
|
}, {
|
||||||
# Player url not surrounded by quotes
|
# Player url not surrounded by quotes
|
||||||
'url': 'https://www.deutsche-kinemathek.de/en/online/streaming/school-trip',
|
'url': 'https://www.deutsche-kinemathek.de/en/online/streaming/school-trip',
|
||||||
@ -49,7 +49,7 @@ class JWPlatformIE(InfoExtractor):
|
|||||||
'description': '',
|
'description': '',
|
||||||
'duration': 5193.0,
|
'duration': 5193.0,
|
||||||
},
|
},
|
||||||
'skip': 'Site changed',
|
'skip': 'Site no longer embeds JWPlatform',
|
||||||
}, {
|
}, {
|
||||||
# iframe src attribute includes backslash before URL string
|
# iframe src attribute includes backslash before URL string
|
||||||
'url': 'https://www.elespectador.com/colombia/video-asi-se-evito-la-fuga-de-john-poulos-presunto-feminicida-de-valentina-trespalacios-explicacion',
|
'url': 'https://www.elespectador.com/colombia/video-asi-se-evito-la-fuga-de-john-poulos-presunto-feminicida-de-valentina-trespalacios-explicacion',
|
||||||
|
@ -100,6 +100,7 @@ class MainStreamingIE(InfoExtractor):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Embed detection
|
||||||
'url': 'https://www.lacplay.it/video/in-evidenza_728/lac-storie-p-250-i-santi-pietro-e-paolo_77297/',
|
'url': 'https://www.lacplay.it/video/in-evidenza_728/lac-storie-p-250-i-santi-pietro-e-paolo_77297/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'u7kiX5DUaHYr',
|
'id': 'u7kiX5DUaHYr',
|
||||||
@ -111,7 +112,6 @@ class MainStreamingIE(InfoExtractor):
|
|||||||
'tags': '06/07/2025',
|
'tags': '06/07/2025',
|
||||||
'live_status': 'not_live',
|
'live_status': 'not_live',
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _playlist_entries(self, host, playlist_content):
|
def _playlist_entries(self, host, playlist_content):
|
||||||
|
@ -32,6 +32,7 @@ class MegaTVComIE(MegaTVComBaseIE):
|
|||||||
IE_DESC = 'megatv.com videos'
|
IE_DESC = 'megatv.com videos'
|
||||||
_VALID_URL = r'https?://(?:www\.)?megatv\.com/(?:\d{4}/\d{2}/\d{2}|[^/]+/(?P<id>\d+))/(?P<slug>[^/]+)'
|
_VALID_URL = r'https?://(?:www\.)?megatv\.com/(?:\d{4}/\d{2}/\d{2}|[^/]+/(?P<id>\d+))/(?P<slug>[^/]+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
|
# FIXME: Unable to extract article id
|
||||||
'url': 'https://www.megatv.com/2021/10/23/egkainia-gia-ti-nea-skini-omega-tou-dimotikou-theatrou-peiraia/',
|
'url': 'https://www.megatv.com/2021/10/23/egkainia-gia-ti-nea-skini-omega-tou-dimotikou-theatrou-peiraia/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '520979',
|
'id': '520979',
|
||||||
@ -43,7 +44,6 @@ class MegaTVComIE(MegaTVComBaseIE):
|
|||||||
'display_id': 'egkainia-gia-ti-nea-skini-omega-tou-dimotikou-theatrou-peiraia',
|
'display_id': 'egkainia-gia-ti-nea-skini-omega-tou-dimotikou-theatrou-peiraia',
|
||||||
'thumbnail': r're:https?://www\.megatv\.com/wp-content/uploads/.+\.jpg',
|
'thumbnail': r're:https?://www\.megatv\.com/wp-content/uploads/.+\.jpg',
|
||||||
},
|
},
|
||||||
'skip': 'Site changed',
|
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://www.megatv.com/tvshows/527800/epeisodio-65-12/',
|
'url': 'https://www.megatv.com/tvshows/527800/epeisodio-65-12/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -103,6 +103,7 @@ class MegaTVComEmbedIE(MegaTVComBaseIE):
|
|||||||
_VALID_URL = r'(?:https?:)?//(?:www\.)?megatv\.com/embed/?\?p=(?P<id>\d+)'
|
_VALID_URL = r'(?:https?:)?//(?:www\.)?megatv\.com/embed/?\?p=(?P<id>\d+)'
|
||||||
_EMBED_REGEX = [rf'''<iframe[^>]+?src=(?P<_q1>["'])(?P<url>{_VALID_URL})(?P=_q1)''']
|
_EMBED_REGEX = [rf'''<iframe[^>]+?src=(?P<_q1>["'])(?P<url>{_VALID_URL})(?P=_q1)''']
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
|
# FIXME: Unable to extract article id
|
||||||
'url': 'https://www.megatv.com/embed/?p=2020520979',
|
'url': 'https://www.megatv.com/embed/?p=2020520979',
|
||||||
'md5': '6546a1a37fff0dd51c9dce5f490b7d7d',
|
'md5': '6546a1a37fff0dd51c9dce5f490b7d7d',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -115,8 +116,8 @@ class MegaTVComEmbedIE(MegaTVComBaseIE):
|
|||||||
'display_id': 'egkainia-gia-ti-nea-skini-omega-tou-dimotikou-theatrou-peiraia',
|
'display_id': 'egkainia-gia-ti-nea-skini-omega-tou-dimotikou-theatrou-peiraia',
|
||||||
'thumbnail': 'https://www.megatv.com/wp-content/uploads/2021/10/ΠΕΙΡΑΙΑΣ-1024x450.jpg',
|
'thumbnail': 'https://www.megatv.com/wp-content/uploads/2021/10/ΠΕΙΡΑΙΑΣ-1024x450.jpg',
|
||||||
},
|
},
|
||||||
'skip': 'Site changed',
|
|
||||||
}, {
|
}, {
|
||||||
|
# FIXME: Unable to extract article id
|
||||||
'url': 'https://www.megatv.com/embed/?p=2020534081',
|
'url': 'https://www.megatv.com/embed/?p=2020534081',
|
||||||
'md5': '6ac8b3ce4dc6120c802f780a1e6b3812',
|
'md5': '6ac8b3ce4dc6120c802f780a1e6b3812',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -129,16 +130,15 @@ class MegaTVComEmbedIE(MegaTVComBaseIE):
|
|||||||
'display_id': 'neo-rekor-stin-timi-tou-ilektrikou-reymatos-pano-apo-ta-200e-i-xondriki-timi-tou-ilektrikou',
|
'display_id': 'neo-rekor-stin-timi-tou-ilektrikou-reymatos-pano-apo-ta-200e-i-xondriki-timi-tou-ilektrikou',
|
||||||
'thumbnail': 'https://www.megatv.com/wp-content/uploads/2021/11/Capture-266.jpg',
|
'thumbnail': 'https://www.megatv.com/wp-content/uploads/2021/11/Capture-266.jpg',
|
||||||
},
|
},
|
||||||
'skip': 'Site changed',
|
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Unable to extract article id
|
||||||
'url': 'https://www.in.gr/2021/12/18/greece/apokalypsi-mega-poios-parelave-tin-ereyna-tsiodra-ek-merous-tis-kyvernisis-o-prothypourgos-telika-gnorize/',
|
'url': 'https://www.in.gr/2021/12/18/greece/apokalypsi-mega-poios-parelave-tin-ereyna-tsiodra-ek-merous-tis-kyvernisis-o-prothypourgos-telika-gnorize/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'apokalypsi-mega-poios-parelave-tin-ereyna-tsiodra-ek-merous-tis-kyvernisis-o-prothypourgos-telika-gnorize',
|
'id': 'apokalypsi-mega-poios-parelave-tin-ereyna-tsiodra-ek-merous-tis-kyvernisis-o-prothypourgos-telika-gnorize',
|
||||||
'title': 'md5:5e569cf996ec111057c2764ec272848f',
|
'title': 'md5:5e569cf996ec111057c2764ec272848f',
|
||||||
},
|
},
|
||||||
'playlist_count': 2,
|
'playlist_count': 2,
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _match_canonical_url(self, webpage):
|
def _match_canonical_url(self, webpage):
|
||||||
|
@ -543,7 +543,7 @@ class NBCNewsIE(ThePlatformIE): # XXX: Do not subclass from concrete IE
|
|||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'David Letterman: A Preview',
|
'title': 'David Letterman: A Preview',
|
||||||
},
|
},
|
||||||
'skip': 'Site changed',
|
'skip': 'Invalid URL',
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
@ -606,6 +606,7 @@ class NBCOlympicsIE(InfoExtractor):
|
|||||||
_VALID_URL = r'https?://www\.nbcolympics\.com/videos?/(?P<id>[0-9a-z-]+)'
|
_VALID_URL = r'https?://www\.nbcolympics\.com/videos?/(?P<id>[0-9a-z-]+)'
|
||||||
|
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
|
# Geo-restricted to US
|
||||||
'url': 'https://www.nbcolympics.com/videos/watch-final-minutes-team-usas-mens-basketball-gold',
|
'url': 'https://www.nbcolympics.com/videos/watch-final-minutes-team-usas-mens-basketball-gold',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'SAwGfPlQ1q01',
|
'id': 'SAwGfPlQ1q01',
|
||||||
@ -620,7 +621,6 @@ class NBCOlympicsIE(InfoExtractor):
|
|||||||
'timestamp': 1723346984,
|
'timestamp': 1723346984,
|
||||||
'upload_date': '20240811',
|
'upload_date': '20240811',
|
||||||
},
|
},
|
||||||
'skip': 'Geo-restricted to US',
|
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://www.nbcolympics.com/video/justin-roses-son-leo-was-tears-after-his-dad-won-gold',
|
'url': 'http://www.nbcolympics.com/video/justin-roses-son-leo-was-tears-after-his-dad-won-gold',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
@ -47,7 +47,7 @@ class PlaywireIE(InfoExtractor):
|
|||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Joe Dirt 2 Beautiful Loser Teaser Trailer',
|
'title': 'Joe Dirt 2 Beautiful Loser Teaser Trailer',
|
||||||
},
|
},
|
||||||
'skip': 'Site changed',
|
'skip': 'Site no longer embeds Playwire',
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -124,13 +124,13 @@ class RuutuIE(InfoExtractor):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Broken IE
|
||||||
'url': 'https://www.hs.fi/maailma/art-2000011353059.html',
|
'url': 'https://www.hs.fi/maailma/art-2000011353059.html',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '4746675',
|
'id': '4746675',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Yhdysvaltojen Texasin osavaltiota ovat koetelleet tuhoisat tulvat',
|
'title': 'Yhdysvaltojen Texasin osavaltiota ovat koetelleet tuhoisat tulvat',
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required',
|
|
||||||
}]
|
}]
|
||||||
_API_BASE = 'https://gatling.nelonenmedia.fi'
|
_API_BASE = 'https://gatling.nelonenmedia.fi'
|
||||||
|
|
||||||
|
@ -62,6 +62,7 @@ class SenateISVPIE(InfoExtractor):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Embed detection
|
||||||
'url': 'https://www.hsgac.senate.gov/subcommittees/bmfwra/hearings/match-ready-oversight-of-the-federal-governments-border-management-and-personnel-readiness-efforts-for-the-decade-of-sports/',
|
'url': 'https://www.hsgac.senate.gov/subcommittees/bmfwra/hearings/match-ready-oversight-of-the-federal-governments-border-management-and-personnel-readiness-efforts-for-the-decade-of-sports/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'govtaff061025',
|
'id': 'govtaff061025',
|
||||||
@ -70,7 +71,6 @@ class SenateISVPIE(InfoExtractor):
|
|||||||
'thumbnail': r're:https?://.+\.(?:jpe?g|png)',
|
'thumbnail': r're:https?://.+\.(?:jpe?g|png)',
|
||||||
'_old_archive_ids': ['senategov govtaff061025'],
|
'_old_archive_ids': ['senategov govtaff061025'],
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
_COMMITTEES = {
|
_COMMITTEES = {
|
||||||
|
@ -98,6 +98,7 @@ class SimplecastIE(SimplecastBaseIE):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Embed detection
|
||||||
'url': 'https://poddtoppen.se/podcast/1498417306/the-rebindio-podcast/errant-signal-chris-franklin-new-wave-video-essays',
|
'url': 'https://poddtoppen.se/podcast/1498417306/the-rebindio-podcast/errant-signal-chris-franklin-new-wave-video-essays',
|
||||||
'md5': '8c93be7be54251bf29ee97464eabe61c',
|
'md5': '8c93be7be54251bf29ee97464eabe61c',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -118,7 +119,6 @@ class SimplecastIE(SimplecastBaseIE):
|
|||||||
'timestamp': 1580979475,
|
'timestamp': 1580979475,
|
||||||
'upload_date': '20200206',
|
'upload_date': '20200206',
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -467,6 +467,7 @@ class SoundcloudIE(SoundcloudBaseIE):
|
|||||||
'tags': 'count:14',
|
'tags': 'count:14',
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
|
# Geo-restricted
|
||||||
'url': 'https://soundcloud.com/the-concept-band/goldrushed-mastered?in=the-concept-band/sets/the-royal-concept-ep',
|
'url': 'https://soundcloud.com/the-concept-band/goldrushed-mastered?in=the-concept-band/sets/the-royal-concept-ep',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '47127627',
|
'id': '47127627',
|
||||||
@ -490,7 +491,6 @@ class SoundcloudIE(SoundcloudBaseIE):
|
|||||||
'artists': ['The Royal Concept'],
|
'artists': ['The Royal Concept'],
|
||||||
'tags': [],
|
'tags': [],
|
||||||
},
|
},
|
||||||
'skip': 'Geo-restricted',
|
|
||||||
}, {
|
}, {
|
||||||
# private link
|
# private link
|
||||||
'url': 'https://soundcloud.com/jaimemf/youtube-dl-test-video-a-y-baw/s-8Pjrp',
|
'url': 'https://soundcloud.com/jaimemf/youtube-dl-test-video-a-y-baw/s-8Pjrp',
|
||||||
|
@ -20,6 +20,7 @@ class TVCIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Embed detection
|
||||||
'url': 'https://krizis-centr.ru/informatsiya/smi-o-tsentre/liniya-zashchity-bitye-zhjony-tv-tsentr',
|
'url': 'https://krizis-centr.ru/informatsiya/smi-o-tsentre/liniya-zashchity-bitye-zhjony-tv-tsentr',
|
||||||
'md5': '43b8eee579a5cd2b85c9ed5b73d1c671',
|
'md5': '43b8eee579a5cd2b85c9ed5b73d1c671',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -29,7 +30,6 @@ class TVCIE(InfoExtractor):
|
|||||||
'duration': 1526,
|
'duration': 1526,
|
||||||
'thumbnail': r're:https?://cdn\.tvc\.ru/pictures/.+\.jpg',
|
'thumbnail': r're:https?://cdn\.tvc\.ru/pictures/.+\.jpg',
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -44,6 +44,7 @@ class TwentyMinutenIE(InfoExtractor):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Update _VALID_URL
|
||||||
'url': 'https://www.20min.ch/story/so-kommen-sie-bei-eis-und-schnee-sicher-an-557858045456',
|
'url': 'https://www.20min.ch/story/so-kommen-sie-bei-eis-und-schnee-sicher-an-557858045456',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '523629',
|
'id': '523629',
|
||||||
@ -51,7 +52,6 @@ class TwentyMinutenIE(InfoExtractor):
|
|||||||
'title': 'So kommen Sie bei Eis und Schnee sicher an',
|
'title': 'So kommen Sie bei Eis und Schnee sicher an',
|
||||||
'description': 'md5:117c212f64b25e3d95747e5276863f7d',
|
'description': 'md5:117c212f64b25e3d95747e5276863f7d',
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required; update _VALID_URL',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -32,6 +32,7 @@ class UDNEmbedIE(InfoExtractor):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Update _VALID_URL
|
||||||
'url': 'https://video.udn.com/news/1308561',
|
'url': 'https://video.udn.com/news/1308561',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '1308561',
|
'id': '1308561',
|
||||||
@ -41,7 +42,6 @@ class UDNEmbedIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
'expected_warnings': ['Failed to parse JSON'],
|
'expected_warnings': ['Failed to parse JSON'],
|
||||||
'params': {'skip_download': 'm3u8'},
|
'params': {'skip_download': 'm3u8'},
|
||||||
'skip': 'IE fix required; update _VALID_URL',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -81,7 +81,7 @@ class ViddlerIE(InfoExtractor):
|
|||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'WALL-TO-GORTAT',
|
'title': 'WALL-TO-GORTAT',
|
||||||
},
|
},
|
||||||
'skip': 'Site changed',
|
'skip': 'Site no longer embeds Viddler',
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -37,7 +37,7 @@ class VideaIE(InfoExtractor):
|
|||||||
'id': '8YfIAjxwWGwT8HVQ',
|
'id': '8YfIAjxwWGwT8HVQ',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
|
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
|
||||||
'thumbnail': r're:https?://.+',
|
'thumbnail': r're:https?://videa\.hu/static/still/.+',
|
||||||
'duration': 21,
|
'duration': 21,
|
||||||
'age_limit': 0,
|
'age_limit': 0,
|
||||||
},
|
},
|
||||||
@ -48,7 +48,7 @@ class VideaIE(InfoExtractor):
|
|||||||
'id': 'jAHDWfWSJH5XuFhH',
|
'id': 'jAHDWfWSJH5XuFhH',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Supercars előzés',
|
'title': 'Supercars előzés',
|
||||||
'thumbnail': r're:https?://.+',
|
'thumbnail': r're:https?://videa\.hu/static/still/.+',
|
||||||
'duration': 64,
|
'duration': 64,
|
||||||
'age_limit': 0,
|
'age_limit': 0,
|
||||||
},
|
},
|
||||||
@ -59,7 +59,7 @@ class VideaIE(InfoExtractor):
|
|||||||
'id': '8YfIAjxwWGwT8HVQ',
|
'id': '8YfIAjxwWGwT8HVQ',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
|
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
|
||||||
'thumbnail': r're:https?://.+',
|
'thumbnail': r're:https?://videa\.hu/static/still/.+',
|
||||||
'duration': 21,
|
'duration': 21,
|
||||||
'age_limit': 0,
|
'age_limit': 0,
|
||||||
},
|
},
|
||||||
@ -77,13 +77,23 @@ class VideaIE(InfoExtractor):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
'url': 'https://videa.hu/',
|
'url': 'https://www.kapucziner.hu/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '623756-deleted-magic-star-wars-ot-deleted-alt-scenes-docu-style',
|
'id': '95yhJCdK2dX1T5Nh',
|
||||||
'title': 'Deleted Magic - Star Wars: OT Deleted / Alt. Scenes Docu. Style - DVD Talk Forum',
|
'ext': 'mp4',
|
||||||
|
'title': 'Nemzetközi díjat kapott a győri kávémanufaktúra',
|
||||||
|
'age_limit': 0,
|
||||||
|
'duration': 207,
|
||||||
|
'thumbnail': r're:https?://videa\.hu/static/still/.+',
|
||||||
|
},
|
||||||
|
}, {
|
||||||
|
# FIXME: No video formats found
|
||||||
|
'url': 'https://hirtv.hu/hirtv_kesleltetett',
|
||||||
|
'info_dict': {
|
||||||
|
'id': 'IDRqF7W9X0GXHGj1',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'Hír TV - 60 perccel késleltetett adás',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 2,
|
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
_STATIC_SECRET = 'xHb0ZvME5q8CBcoQi6AngerDu3FGO9fkUlwPmLVY_RTzj2hJIS4NasXWKy1td7p'
|
_STATIC_SECRET = 'xHb0ZvME5q8CBcoQi6AngerDu3FGO9fkUlwPmLVY_RTzj2hJIS4NasXWKy1td7p'
|
||||||
|
|
||||||
|
@ -72,6 +72,7 @@ class VoxMediaIE(InfoExtractor):
|
|||||||
_VALID_URL = r'https?://(?:www\.)?(?:(?:theverge|vox|sbnation|eater|polygon|curbed|racked|funnyordie)\.com|recode\.net)/(?:[^/]+/)*(?P<id>[^/?]+)'
|
_VALID_URL = r'https?://(?:www\.)?(?:(?:theverge|vox|sbnation|eater|polygon|curbed|racked|funnyordie)\.com|recode\.net)/(?:[^/]+/)*(?P<id>[^/?]+)'
|
||||||
_EMBED_REGEX = [r'<iframe[^>]+?src="(?P<url>https?://(?:www\.)?funnyordie\.com/embed/[^"]+)"']
|
_EMBED_REGEX = [r'<iframe[^>]+?src="(?P<url>https?://(?:www\.)?funnyordie\.com/embed/[^"]+)"']
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
|
# FIXME: Unsupported iframe embed
|
||||||
# Volume embed, Youtube
|
# Volume embed, Youtube
|
||||||
'url': 'http://www.theverge.com/2014/6/27/5849272/material-world-how-google-discovered-what-software-is-made-of',
|
'url': 'http://www.theverge.com/2014/6/27/5849272/material-world-how-google-discovered-what-software-is-made-of',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -84,7 +85,6 @@ class VoxMediaIE(InfoExtractor):
|
|||||||
'uploader': 'The Verge',
|
'uploader': 'The Verge',
|
||||||
},
|
},
|
||||||
'add_ie': ['Youtube'],
|
'add_ie': ['Youtube'],
|
||||||
'skip': 'Site changed',
|
|
||||||
}, {
|
}, {
|
||||||
# Volume embed, Youtube
|
# Volume embed, Youtube
|
||||||
'url': 'http://www.theverge.com/2014/10/21/7025853/google-nexus-6-hands-on-photos-video-android-phablet',
|
'url': 'http://www.theverge.com/2014/10/21/7025853/google-nexus-6-hands-on-photos-video-android-phablet',
|
||||||
|
@ -353,7 +353,7 @@ class WistiaChannelIE(WistiaBaseIE):
|
|||||||
'description': 'md5:14a8a93a1dbe236718e6a59f8c8c7bae',
|
'description': 'md5:14a8a93a1dbe236718e6a59f8c8c7bae',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 30,
|
'playlist_mincount': 30,
|
||||||
'skip': 'Site changed',
|
'skip': 'Site no longer embeds Wistia playlists',
|
||||||
}, {
|
}, {
|
||||||
# section instead of div
|
# section instead of div
|
||||||
'url': 'https://360learning.com/studio/onboarding-joei/',
|
'url': 'https://360learning.com/studio/onboarding-joei/',
|
||||||
|
@ -410,6 +410,7 @@ class XHamsterEmbedIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Embed detection
|
||||||
'url': 'https://xhamster.com/awards/2023',
|
'url': 'https://xhamster.com/awards/2023',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'xh2VnYn',
|
'id': 'xh2VnYn',
|
||||||
@ -429,7 +430,6 @@ class XHamsterEmbedIE(InfoExtractor):
|
|||||||
'view_count': int,
|
'view_count': int,
|
||||||
},
|
},
|
||||||
'params': {'skip_download': 'm3u8'},
|
'params': {'skip_download': 'm3u8'},
|
||||||
'skip': 'IE fix required; embed detection',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
@ -29,13 +29,13 @@ class YapFilesIE(InfoExtractor):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_WEBPAGE_TESTS = [{
|
_WEBPAGE_TESTS = [{
|
||||||
|
# FIXME: Update _VALID_URL
|
||||||
'url': 'https://www.yapfiles.ru/show/3397030/e34b69aa03829d513d7dc3ace6ec9631.mp4.html',
|
'url': 'https://www.yapfiles.ru/show/3397030/e34b69aa03829d513d7dc3ace6ec9631.mp4.html',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'vMDE4NzI1Mjgt690b',
|
'id': 'vMDE4NzI1Mjgt690b',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Котята',
|
'title': 'Котята',
|
||||||
},
|
},
|
||||||
'skip': 'IE fix required; update _VALID_URL',
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
Loading…
Reference in New Issue
Block a user