1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-07-26 23:28:29 +00:00
This commit is contained in:
doe1080 2025-07-16 14:58:33 +09:00
parent b1f98e593c
commit 1a60de8c21
2 changed files with 31 additions and 37 deletions

View File

@ -1750,16 +1750,6 @@ class GenericIE(InfoExtractor):
'description': 'md5:c80da9ed3d83ae6d1876c834de03e1c4', 'description': 'md5:c80da9ed3d83ae6d1876c834de03e1c4',
}, },
'skip': 'Site Changed', 'skip': 'Site Changed',
}, {
# ✅128
# ZapiksIE
'url': 'https://www.skipass.com/news/116090-bon-appetit-s5ep3-baqueira-mi-cor.html',
'info_dict': {
'id': '118046',
'ext': 'mp4',
'title': 'EP3S5 - Bon Appétit - Baqueira Mi Corazon !',
'thumbnail': r're:https?://zpks\.com/.+\.jpg',
},
}, { }, {
# ✅131 # ✅131
# Redirect # Redirect

View File

@ -13,35 +13,39 @@
class ZapiksIE(InfoExtractor): class ZapiksIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?zapiks\.(?:fr|com)/(?:(?:[a-z]{2}/)?(?P<display_id>.+?)\.html|index\.php\?.*\bmedia_id=(?P<id>\d+))' _VALID_URL = r'https?://(?:www\.)?zapiks\.(?:fr|com)/(?:(?:[a-z]{2}/)?(?P<display_id>.+?)\.html|index\.php\?.*\bmedia_id=(?P<id>\d+))'
_EMBED_REGEX = [r'<iframe[^>]+src="(?P<url>https?://(?:www\.)?zapiks\.fr/index\.php\?.+?)"'] _EMBED_REGEX = [r'<iframe[^>]+src="(?P<url>https?://(?:www\.)?zapiks\.fr/index\.php\?.+?)"']
_TESTS = [ _TESTS = [{
{ 'url': 'http://www.zapiks.fr/ep2s3-bon-appetit-eh-be-viva.html',
'url': 'http://www.zapiks.fr/ep2s3-bon-appetit-eh-be-viva.html', 'md5': 'aeb3c473b2d564b2d46d664d28d5f050',
'md5': 'aeb3c473b2d564b2d46d664d28d5f050', 'info_dict': {
'info_dict': { 'id': '80798',
'id': '80798', 'ext': 'mp4',
'ext': 'mp4', 'title': 'EP2S3 - Bon Appétit - Eh bé viva les pyrénées con!',
'title': 'EP2S3 - Bon Appétit - Eh bé viva les pyrénées con!', 'description': 'md5:7054d6f6f620c6519be1fe710d4da847',
'description': 'md5:7054d6f6f620c6519be1fe710d4da847', 'thumbnail': r're:https?://zpks\.com/.+\.jpg',
'thumbnail': r're:^https?://.*\.jpg$', 'duration': 528,
'duration': 528, 'timestamp': 1359044972,
'timestamp': 1359044972, 'upload_date': '20130124',
'upload_date': '20130124', 'view_count': int,
'view_count': int,
},
}, },
{ }, {
'url': 'http://www.zapiks.com/ep3s5-bon-appetit-baqueira-m-1.html', 'url': 'http://www.zapiks.com/ep3s5-bon-appetit-baqueira-m-1.html',
'only_matching': True, 'only_matching': True,
}, {
'url': 'http://www.zapiks.com/nl/ep3s5-bon-appetit-baqueira-m-1.html',
'only_matching': True,
}, {
'url': 'http://www.zapiks.fr/index.php?action=playerIframe&amp;media_id=118046&amp;width=640&amp;height=360&amp;autoStart=false&amp;language=fr',
'only_matching': True,
}]
_WEBPAGE_TESTS = [{
'url': 'https://www.skipass.com/news/116090-bon-appetit-s5ep3-baqueira-mi-cor.html',
'info_dict': {
'id': '118046',
'ext': 'mp4',
'title': 'EP3S5 - Bon Appétit - Baqueira Mi Corazon !',
'thumbnail': r're:https?://zpks\.com/.+\.jpg',
}, },
{ }]
'url': 'http://www.zapiks.com/nl/ep3s5-bon-appetit-baqueira-m-1.html',
'only_matching': True,
},
{
'url': 'http://www.zapiks.fr/index.php?action=playerIframe&amp;media_id=118046&amp;width=640&amp;height=360&amp;autoStart=false&amp;language=fr',
'only_matching': True,
},
]
def _real_extract(self, url): def _real_extract(self, url):
mobj = self._match_valid_url(url) mobj = self._match_valid_url(url)