[shared] Extend _VALID_URL to support vivo.sx (Closes #6681)
authorSergey M․ <dstftw@gmail.com>
Wed, 26 Aug 2015 16:03:58 +0000 (22:03 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 26 Aug 2015 16:03:58 +0000 (22:03 +0600)
youtube_dl/extractor/shared.py

index a07677686a4ecc2923b310c3aeeeaab610bb0868..000ef1a0723d2b6ceb9b047924e0490386369060 100644 (file)
@@ -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',