mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-27 07:38:30 +00:00
ZapiksIE
This commit is contained in:
parent
b1f98e593c
commit
1a60de8c21
@ -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
|
||||||
|
@ -13,8 +13,7 @@
|
|||||||
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': {
|
||||||
@ -22,26 +21,31 @@ class ZapiksIE(InfoExtractor):
|
|||||||
'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?://.*\.jpg$',
|
'thumbnail': r're:https?://zpks\.com/.+\.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',
|
'url': 'http://www.zapiks.com/nl/ep3s5-bon-appetit-baqueira-m-1.html',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
'url': 'http://www.zapiks.fr/index.php?action=playerIframe&media_id=118046&width=640&height=360&autoStart=false&language=fr',
|
'url': 'http://www.zapiks.fr/index.php?action=playerIframe&media_id=118046&width=640&height=360&autoStart=false&language=fr',
|
||||||
'only_matching': True,
|
'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',
|
||||||
},
|
},
|
||||||
]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
mobj = self._match_valid_url(url)
|
mobj = self._match_valid_url(url)
|
||||||
|
Loading…
Reference in New Issue
Block a user