[movshare] Rename to wholecloud

pull/8/head
Sergey M․ 9 years ago
parent 636aa83ed3
commit 36066dd3ee

@ -424,7 +424,7 @@ from .nosvideo import NosVideoIE
from .nova import NovaIE from .nova import NovaIE
from .novamov import ( from .novamov import (
NovaMovIE, NovaMovIE,
MovShareIE, WholeCloudIE,
NowVideoIE, NowVideoIE,
VideoWeedIE, VideoWeedIE,
CloudTimeIE, CloudTimeIE,

@ -94,20 +94,20 @@ class NovaMovIE(InfoExtractor):
} }
class MovShareIE(NovaMovIE): class WholeCloudIE(NovaMovIE):
IE_NAME = 'movshare' IE_NAME = 'wholecloud'
IE_DESC = 'MovShare' 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.<' _FILE_DELETED_REGEX = r'>This file no longer exists on our servers.<'
_TITLE_REGEX = r'<strong>Title:</strong> ([^<]+)</p>' _TITLE_REGEX = r'<strong>Title:</strong> ([^<]+)</p>'
_DESCRIPTION_REGEX = r'<strong>Description:</strong> ([^<]+)</p>' _DESCRIPTION_REGEX = r'<strong>Description:</strong> ([^<]+)</p>'
_TEST = { _TEST = {
'url': 'http://www.movshare.net/video/559e28be54d96', 'url': 'http://www.wholecloud.net/video/559e28be54d96',
'md5': 'abd31a2132947262c50429e1d16c1bfd', 'md5': 'abd31a2132947262c50429e1d16c1bfd',
'info_dict': { 'info_dict': {
'id': '559e28be54d96', 'id': '559e28be54d96',

Loading…
Cancel
Save