[ina] Allow I at start of video IDs
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 25 Jul 2013 07:52:53 +0000 (09:52 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 25 Jul 2013 07:52:58 +0000 (09:52 +0200)
youtube_dl/extractor/ina.py

index ce1ff32a156a58b33cde0cb6414623800d865f97..652f19b7b8ea689d7861b04f6ff421c144c300d9 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>[A-F0-9]+)/.*'
+    _VALID_URL = r'(?:http://)?(?:www\.)?ina\.fr/video/(?P<id>I?[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',