commit 636aa83ed3fa2b2ef01b6919fca4e4d603b9773a
parent 33d152b6cc04bfdf658691dbf12c1d976cfa0ba3
Author: Sergey M․ <dstftw@gmail.com>
Date: Sun, 6 Dec 2015 09:37:38 +0600
[cloudtime] Add extractor
Diffstat:
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git 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
@@ -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