- """Information Extractor for Ina.fr"""
- _VALID_URL = r'(?:http://)?(?:www\.)?ina\.fr/video/(?P<id>I[0-9]+)/.*'
-
- def _real_extract(self,url):
+ _VALID_URL = r'http://(?:www\.)?ina\.fr/video/(?P<id>I?[A-Z0-9]+)'
+ _TEST = {
+ 'url': 'http://www.ina.fr/video/I12055569/francois-hollande-je-crois-que-c-est-clair-video.html',
+ 'md5': 'a667021bf2b41f8dc6049479d9bb38a3',
+ 'info_dict': {
+ 'id': 'I12055569',
+ 'ext': 'mp4',
+ 'title': 'François Hollande "Je crois que c\'est clair"',
+ }
+ }
+
+ def _real_extract(self, url):