mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 12:40:11 +09:00
Make regex more specific and remove redundant .*
This commit is contained in:
parent
ad64f3751e
commit
bc86c5f73b
@ -11,7 +11,7 @@ from ..utils import ExtractorError
|
|||||||
class NPOIE(InfoExtractor):
|
class NPOIE(InfoExtractor):
|
||||||
IE_NAME = 'npo'
|
IE_NAME = 'npo'
|
||||||
IE_DESC = 'npo.nl'
|
IE_DESC = 'npo.nl'
|
||||||
_VALID_URL = r'https?://(?:www\.)?npo\.nl/.*'
|
_VALID_URL = r'https?://(?:www\.)?npo\.nl/start/serie/'
|
||||||
|
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://npo.nl/start/serie/zembla/seizoen-2015/wie-is-de-mol-2/',
|
'url': 'https://npo.nl/start/serie/zembla/seizoen-2015/wie-is-de-mol-2/',
|
||||||
|
Loading…
Reference in New Issue
Block a user