From: Sergey M․
Date: Sun, 6 Dec 2015 03:42:00 +0000 (+0600)
Subject: [movshare] Rename to wholecloud
X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=36066dd3ee3f90c3feb136ec4c85a03ece5b8585;p=youtube-dl
[movshare] Rename to wholecloud
---
diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py
index ed85d0ee5..3db5cd6d9 100644
--- a/youtube_dl/extractor/__init__.py
+++ b/youtube_dl/extractor/__init__.py
@@ -424,7 +424,7 @@ from .nosvideo import NosVideoIE
from .nova import NovaIE
from .novamov import (
NovaMovIE,
- MovShareIE,
+ WholeCloudIE,
NowVideoIE,
VideoWeedIE,
CloudTimeIE,
diff --git a/youtube_dl/extractor/novamov.py b/youtube_dl/extractor/novamov.py
index 53d656f9d..bbbb8fe58 100644
--- a/youtube_dl/extractor/novamov.py
+++ b/youtube_dl/extractor/novamov.py
@@ -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'Title: ([^<]+)
'
_DESCRIPTION_REGEX = r'Description: ([^<]+)'
_TEST = {
- 'url': 'http://www.movshare.net/video/559e28be54d96',
+ 'url': 'http://www.wholecloud.net/video/559e28be54d96',
'md5': 'abd31a2132947262c50429e1d16c1bfd',
'info_dict': {
'id': '559e28be54d96',