Browse Source

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

master
Sergey M․ 7 years ago
parent
commit
e01bfc19c3
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/commonmistakes.py

2
youtube_dl/extractor/commonmistakes.py

@ -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 = [{

Loading…
Cancel
Save