From: Remita Amine Date: Sat, 19 May 2018 10:04:08 +0000 (+0100) Subject: [imdb:list] fix _VALID_URL regex X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=27694fe7ad77d5f99d7b46fa7395f4ccbb378777;p=youtube-dl [imdb:list] fix _VALID_URL regex --- diff --git a/youtube_dl/extractor/imdb.py b/youtube_dl/extractor/imdb.py index 926c2c388..4bafa54a2 100644 --- 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\d+)(?!/videoplayer/vi\d+)' + _VALID_URL = r'https?://(?:www\.)?imdb\.com/list/ls(?P\d{9})(?!/videoplayer/vi\d+)' _TEST = { 'url': 'https://www.imdb.com/list/ls009921623/', 'info_dict': {