[extractor/commonmistakes] Restrict _VALID_URL (closes #12050)
authorSergey M․ <dstftw@gmail.com>
Fri, 10 Feb 2017 02:39:24 +0000 (09:39 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 10 Feb 2017 02:39:24 +0000 (09:39 +0700)
youtube_dl/extractor/commonmistakes.py

index 2f86e2381f447faa7b42d6056e685bc04f101f9c..d3ed4a9a4100744a95d84929a84ac0531c983c60 100644 (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 = [{