[vice] Do not capture unused groups in _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Sun, 19 Jul 2015 18:39:55 +0000 (00:39 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 19 Jul 2015 18:39:55 +0000 (00:39 +0600)
youtube_dl/extractor/vice.py

index dfb621468d333a438179b56ca04c2cd2e2e74209..e3ad4ef54fab43d0af44e847826a8b70f04e1991 100644 (file)
@@ -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 = [
         {