]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[movshare] Rename to wholecloud
authorSergey M․ <dstftw@gmail.com>
Sun, 6 Dec 2015 03:42:00 +0000 (09:42 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 6 Dec 2015 03:42:00 +0000 (09:42 +0600)
youtube_dl/extractor/__init__.py
youtube_dl/extractor/novamov.py

index ed85d0ee5186ed7e9547ca5ad74b076a20caa4a3..3db5cd6d97cea831e0adbad7ecaf62287e7d2b27 100644 (file)
@@ -424,7 +424,7 @@ from .nosvideo import NosVideoIE
 from .nova import NovaIE
 from .novamov import (
     NovaMovIE,
-    MovShareIE,
+    WholeCloudIE,
     NowVideoIE,
     VideoWeedIE,
     CloudTimeIE,
index 53d656f9d4085b3372930253f07613b38ca5cf41..bbbb8fe584de4a8decd8525684ddabe3da26ccd1 100644 (file)
@@ -94,20 +94,20 @@ class NovaMovIE(InfoExtractor):
         }
 
 
-class MovShareIE(NovaMovIE):
-    IE_NAME = 'movshare'
-    IE_DESC = 'MovShare'
+class WholeCloudIE(NovaMovIE):
+    IE_NAME = 'wholecloud'
+    IE_DESC = 'WholeCloud'
 
-    _VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'movshare\.(?:net|sx|ag)'}
+    _VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': '(?:wholecloud\.net|movshare\.(?:net|sx|ag))'}
 
-    _HOST = 'www.movshare.net'
+    _HOST = 'www.wholecloud.net'
 
     _FILE_DELETED_REGEX = r'>This file no longer exists on our servers.<'
     _TITLE_REGEX = r'<strong>Title:</strong> ([^<]+)</p>'
     _DESCRIPTION_REGEX = r'<strong>Description:</strong> ([^<]+)</p>'
 
     _TEST = {
-        'url': 'http://www.movshare.net/video/559e28be54d96',
+        'url': 'http://www.wholecloud.net/video/559e28be54d96',
         'md5': 'abd31a2132947262c50429e1d16c1bfd',
         'info_dict': {
             'id': '559e28be54d96',