aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-02-22 01:42:47 +0600
committerSergey M․ <dstftw@gmail.com>2015-02-22 01:42:47 +0600
commitea5152cae110d55b82c755c23926f077b90c071c (patch)
tree420358f0fb70430ff55183d617847242bd5b14dd /youtube_dl
parent255fca5eea70a171530a5a0f2af143362f0211cf (diff)
[zapiks] Extend _VALID_URL (#5014)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/zapiks.py10
1 files changed, 9 insertions, 1 deletions
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<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+))'
_TESTS = [
{
'url': 'http://www.zapiks.fr/ep2s3-bon-appetit-eh-be-viva.html',
@@ -33,6 +33,14 @@ class ZapiksIE(InfoExtractor):
},
},
{
+ '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&amp;media_id=118046&amp;width=640&amp;height=360&amp;autoStart=false&amp;language=fr',
'only_matching': True,
},