From: Sergey M․ Date: Sun, 6 Dec 2015 03:37:38 +0000 (+0600) Subject: [cloudtime] Add extractor X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=636aa83ed3fa2b2ef01b6919fca4e4d603b9773a;p=youtube-dl [cloudtime] Add extractor --- diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py index fefaff35b..ed85d0ee5 100644 --- a/youtube_dl/extractor/__init__.py +++ b/youtube_dl/extractor/__init__.py @@ -427,6 +427,7 @@ from .novamov import ( MovShareIE, NowVideoIE, VideoWeedIE, + CloudTimeIE, ) from .nowness import ( NownessIE, diff --git a/youtube_dl/extractor/novamov.py b/youtube_dl/extractor/novamov.py index 0605c0e0d..53d656f9d 100644 --- a/youtube_dl/extractor/novamov.py +++ b/youtube_dl/extractor/novamov.py @@ -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']+class=["\']video_det["\'][^>]*>\s*([^<]+)' + + _TEST = None