[ina] Fix URL detection (Fixes #1121)
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 25 Jul 2013 07:34:12 +0000 (09:34 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 25 Jul 2013 07:34:12 +0000 (09:34 +0200)
youtube_dl/extractor/ina.py

index 962c5921447e72a3f15ce20ca1f8e293acf26c44..ce1ff32a156a58b33cde0cb6414623800d865f97 100644 (file)
@@ -5,7 +5,7 @@ from .common import InfoExtractor
 
 class InaIE(InfoExtractor):
     """Information Extractor for Ina.fr"""
-    _VALID_URL = r'(?:http://)?(?:www\.)?ina\.fr/video/(?P<id>I[0-9]+)/.*'
+    _VALID_URL = r'(?:http://)?(?:www\.)?ina\.fr/video/(?P<id>[A-F0-9]+)/.*'
     _TEST = {
         u'url': u'www.ina.fr/video/I12055569/francois-hollande-je-crois-que-c-est-clair-video.html',
         u'file': u'I12055569.mp4',