projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d32b63
)
[extractor/commonmistakes] Restrict _VALID_URL (closes #12050)
author
Sergey M․
<dstftw@gmail.com>
Fri, 10 Feb 2017 02:39:24 +0000
(09:39 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 10 Feb 2017 02:39:24 +0000
(09:39 +0700)
youtube_dl/extractor/commonmistakes.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/commonmistakes.py
b/youtube_dl/extractor/commonmistakes.py
index 2f86e2381f447faa7b42d6056e685bc04f101f9c..d3ed4a9a4100744a95d84929a84ac0531c983c60 100644
(file)
--- 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 = [{