From d8061908bb9e5ba708dbee6a05832b865ecea5eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Wed, 5 Feb 2014 23:01:24 +0100 Subject: [PATCH] [ina] Improve _VALID_URL regex (fixes #2328) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Accept all letters in upper case and don’t require anything after the id --- youtube_dl/extractor/ina.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/ina.py b/youtube_dl/extractor/ina.py index e9f5f3cf9..0847074ee 100644 --- a/youtube_dl/extractor/ina.py +++ b/youtube_dl/extractor/ina.py @@ -7,7 +7,7 @@ from .common import InfoExtractor class InaIE(InfoExtractor): - _VALID_URL = r'http://(?:www\.)?ina\.fr/video/(?PI?[A-F0-9]+)/.*' + _VALID_URL = r'http://(?:www\.)?ina\.fr/video/(?PI?[A-Z0-9]+)' _TEST = { 'url': 'http://www.ina.fr/video/I12055569/francois-hollande-je-crois-que-c-est-clair-video.html', 'md5': 'a667021bf2b41f8dc6049479d9bb38a3',