projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0167f0d
)
[imdb:list] fix _VALID_URL regex
author
Remita Amine
<remitamine@gmail.com>
Sat, 19 May 2018 10:04:08 +0000
(11:04 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sat, 19 May 2018 10:04:08 +0000
(11:04 +0100)
youtube_dl/extractor/imdb.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/imdb.py
b/youtube_dl/extractor/imdb.py
index 926c2c3888f2d6c4c985d882fc811c2694965359..4bafa54a21e5abbc294a3686b6b974a9bb6d4eb3 100644
(file)
--- a/
youtube_dl/extractor/imdb.py
+++ b/
youtube_dl/extractor/imdb.py
@@
-92,7
+92,7
@@
class ImdbIE(InfoExtractor):
class ImdbListIE(InfoExtractor):
IE_NAME = 'imdb:list'
IE_DESC = 'Internet Movie Database lists'
- _VALID_URL = r'https?://(?:www\.)?imdb\.com/list/ls(?P<id>\d
+
)(?!/videoplayer/vi\d+)'
+ _VALID_URL = r'https?://(?:www\.)?imdb\.com/list/ls(?P<id>\d
{9}
)(?!/videoplayer/vi\d+)'
_TEST = {
'url': 'https://www.imdb.com/list/ls009921623/',
'info_dict': {