Explorar el Código

[shared] Extend _VALID_URL to support vivo.sx (Closes #6681)

Sergey M․ hace 10 años
padre
commit
3d8132f5e2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      youtube_dl/extractor/shared.py

+ 1 - 1
youtube_dl/extractor/shared.py

@@ -14,7 +14,7 @@ from ..utils import (
 
 
 class SharedIE(InfoExtractor):
-    _VALID_URL = r'http://shared\.sx/(?P<id>[\da-z]{10})'
+    _VALID_URL = r'http://(?:shared|vivo)\.sx/(?P<id>[\da-z]{10})'
 
     _TEST = {
         'url': 'http://shared.sx/0060718775',