Browse Source

[ina] Improve _VALID_URL regex (fixes #2328)

Accept all letters in upper case and don’t require anything after the id
totalwebcasting
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
d8061908bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/ina.py

+ 1
- 1
youtube_dl/extractor/ina.py View File

@ -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',


Loading…
Cancel
Save