mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 01:02:13 +01:00
[imdb:list] fix _VALID_URL regex
This commit is contained in:
parent
0167f0dbfe
commit
27694fe7ad
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ def _real_extract(self, url):
|
||||||
class ImdbListIE(InfoExtractor):
|
class ImdbListIE(InfoExtractor):
|
||||||
IE_NAME = 'imdb:list'
|
IE_NAME = 'imdb:list'
|
||||||
IE_DESC = 'Internet Movie Database lists'
|
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 = {
|
_TEST = {
|
||||||
'url': 'https://www.imdb.com/list/ls009921623/',
|
'url': 'https://www.imdb.com/list/ls009921623/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
|
Loading…
Reference in a new issue