aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-02-10 09:39:24 +0700
committerSergey M․ <dstftw@gmail.com>2017-02-10 09:39:24 +0700
commite01bfc19c345f189b65f3c6e4064b304f1cd337f (patch)
treede47df14bfcdaaed4043be86baeab828655ae53f /youtube_dl
parent4d32b6385160e8cf9117839022ed795ce02b107d (diff)
[extractor/commonmistakes] Restrict _VALID_URL (closes #12050)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/commonmistakes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/commonmistakes.py b/youtube_dl/extractor/commonmistakes.py
index 2f86e2381..d3ed4a9a4 100644
--- a/youtube_dl/extractor/commonmistakes.py
+++ b/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 = [{