aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
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
parent33d152b6cc04bfdf658691dbf12c1d976cfa0ba3 (diff)
[cloudtime] Add extractor
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/__init__.py1
-rw-r--r--youtube_dl/extractor/novamov.py14
2 files changed, 15 insertions, 0 deletions
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'<div[^>]+class=["\']video_det["\'][^>]*>\s*<strong>([^<]+)</strong>'
+
+ _TEST = None