mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[movshare] Rename to wholecloud
This commit is contained in:
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…
Reference in a new issue