aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/novamov.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-06 09:37:38 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-06 09:37:38 +0600
commit636aa83ed3fa2b2ef01b6919fca4e4d603b9773a (patch)
treea21633f16f6e6d2c3eda767f7ea143cc9be30f91 /youtube_dl/extractor/novamov.py
parent33d152b6cc04bfdf658691dbf12c1d976cfa0ba3 (diff)
[cloudtime] Add extractor
Diffstat (limited to 'youtube_dl/extractor/novamov.py')
-rw-r--r--youtube_dl/extractor/novamov.py14
1 files changed, 14 insertions, 0 deletions
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'<div[^>]+class=["\']video_det["\'][^>]*>\s*<strong>([^<]+)</strong>'
+
+ _TEST = None