Explorar o código

[vice] Do not capture unused groups in _VALID_URL

Sergey M․ %!s(int64=10) %!d(string=hai) anos
pai
achega
772acaf31f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = [
         {