aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-02-05 23:01:24 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-02-05 23:01:24 +0100
commitd8061908bb9e5ba708dbee6a05832b865ecea5eb (patch)
tree0850db327f054a4df444dddd3155378fb4d0752f /youtube_dl
parent211e17dd436b7626d13195f482133ef223d154bb (diff)
[ina] Improve _VALID_URL regex (fixes #2328)
Accept all letters in upper case and don’t require anything after the id
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/ina.py2
1 files changed, 1 insertions, 1 deletions
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/(?P<id>I?[A-F0-9]+)/.*'
+ _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',