[extractor/commonmistakes] Restrict _VALID_URL (closes #12050)

This commit is contained in:
Sergey M․ 2017-02-10 09:39:24 +07:00
parent 4d32b63851
commit e01bfc19c3
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -7,7 +7,7 @@ from ..utils import ExtractorError
class CommonMistakesIE(InfoExtractor):
IE_DESC = False # Do not list
_VALID_URL = r'''(?x)
(?:url|URL)
(?:url|URL)$
'''
_TESTS = [{