1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[cloudtime] Add extractor

This commit is contained in:
Sergey M․ 2015-12-06 09:37:38 +06:00
parent 33d152b6cc
commit 636aa83ed3
2 changed files with 15 additions and 0 deletions

View file

@ -427,6 +427,7 @@ from .novamov import (
MovShareIE,
NowVideoIE,
VideoWeedIE,
CloudTimeIE,
)
from .nowness import (
NownessIE,

View file

@ -164,3 +164,17 @@ class VideoWeedIE(NovaMovIE):
'description': ''
},
}
class CloudTimeIE(NovaMovIE):
IE_NAME = 'cloudtime'
IE_DESC = 'CloudTime'
_VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'cloudtime\.to'}
_HOST = 'www.cloudtime.to'
_FILE_DELETED_REGEX = r'>This file no longer exists on our servers.<'
_TITLE_REGEX = r'<div[^>]+class=["\']video_det["\'][^>]*>\s*<strong>([^<]+)</strong>'
_TEST = None