X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fzapiks.py;h=22a9a57e882be49109c00036fa3559410b4e334f;hb=176ccefcd89af5393b7cab14237097c54dd0ee14;hp=12810637ef7617e2672ab79c338293aff70cd8fc;hpb=4aeccadf4ef8528c252c917d071e98a091f7766c;p=youtube-dl diff --git a/youtube_dl/extractor/zapiks.py b/youtube_dl/extractor/zapiks.py index 12810637e..22a9a57e8 100644 --- a/youtube_dl/extractor/zapiks.py +++ b/youtube_dl/extractor/zapiks.py @@ -14,7 +14,7 @@ from ..utils import ( class ZapiksIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?zapiks\.fr/(?:(?P.+?)\.html|index\.php\?.*\bmedia_id=(?P\d+))' + _VALID_URL = r'https?://(?:www\.)?zapiks\.(?:fr|com)/(?:(?:[a-z]{2}/)?(?P.+?)\.html|index\.php\?.*\bmedia_id=(?P\d+))' _TESTS = [ { 'url': 'http://www.zapiks.fr/ep2s3-bon-appetit-eh-be-viva.html', @@ -32,6 +32,14 @@ class ZapiksIE(InfoExtractor): 'comment_count': int, }, }, + { + 'url': 'http://www.zapiks.com/ep3s5-bon-appetit-baqueira-m-1.html', + '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&media_id=118046&width=640&height=360&autoStart=false&language=fr', 'only_matching': True,