Browse Source

[vice] Do not capture unused groups in _VALID_URL

Sergey M․ 10 years ago
parent
commit
772acaf31f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/vice.py

+ 1 - 1
youtube_dl/extractor/vice.py

@@ -7,7 +7,7 @@ from ..utils import ExtractorError
 
 
 class ViceIE(InfoExtractor):
-    _VALID_URL = r'https?://(.+?\.)?vice\.com/.*?/(?P<name>.+)'
+    _VALID_URL = r'https?://(?:.+?\.)?vice\.com/.*?/(?P<name>.+)'
 
     _TESTS = [
         {