summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-12-16 16:03:46 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-12-16 16:03:46 +0100
commit17e0d63957b98ed225e6f76b66a3351e214fd742 (patch)
tree917774c24651affe941a805cc8208573d82decd0
parent84d84211acba32a2a9bfb8729eeffd05cd556918 (diff)
parent9209fe38784dbb4d4c045537919f3dc50e02227a (diff)
downloadyoutube-dl-17e0d63957b98ed225e6f76b66a3351e214fd742.tar.gz
youtube-dl-17e0d63957b98ed225e6f76b66a3351e214fd742.tar.xz
youtube-dl-17e0d63957b98ed225e6f76b66a3351e214fd742.zip
Merge branch 'master' of github.com:rg3/youtube-dl
-rw-r--r--youtube_dl/extractor/allocine.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/allocine.py b/youtube_dl/extractor/allocine.py
index 623aeaf34..7d65b8193 100644
--- a/youtube_dl/extractor/allocine.py
+++ b/youtube_dl/extractor/allocine.py
@@ -12,7 +12,7 @@ from ..utils import (
 
 
 class AllocineIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?allocine\.fr/(?P<typ>article|video|film)/(fichearticle_gen_carticle=|player_gen_cmedia=|fichefilm_gen_cfilm=)(?P<id>[0-9]+)(?:\.html)?'
+    _VALID_URL = r'https?://(?:www\.)?allocine\.fr/(?P<typ>article|video|film)/(fichearticle_gen_carticle=|player_gen_cmedia=|fichefilm_gen_cfilm=|video-)(?P<id>[0-9]+)(?:\.html)?'
 
     _TESTS = [{
         'url': 'http://www.allocine.fr/article/fichearticle_gen_carticle=18635087.html',
@@ -44,6 +44,9 @@ class AllocineIE(InfoExtractor):
             'description': 'md5:71742e3a74b0d692c7fce0dd2017a4ac',
             'thumbnail': 're:http://.*\.jpg',
         },
+    }, {
+        'url': 'http://www.allocine.fr/video/video-19550147/',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):