1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-19 11:39:28 +00:00

Make regex more specific and remove redundant .*

This commit is contained in:
Bart Broere 2024-03-14 13:37:41 +01:00 committed by GitHub
parent ad64f3751e
commit bc86c5f73b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,7 +11,7 @@ from ..utils import ExtractorError
class NPOIE(InfoExtractor):
IE_NAME = 'npo'
IE_DESC = 'npo.nl'
_VALID_URL = r'https?://(?:www\.)?npo\.nl/.*'
_VALID_URL = r'https?://(?:www\.)?npo\.nl/start/serie/'
_TESTS = [{
'url': 'https://npo.nl/start/serie/zembla/seizoen-2015/wie-is-de-mol-2/',