1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 17:26:51 +01:00

[movshare] Rename to wholecloud

This commit is contained in:
Sergey M․ 2015-12-06 09:42:00 +06:00
parent 636aa83ed3
commit 36066dd3ee
2 changed files with 7 additions and 7 deletions

View File

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

View 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',