Browse Source

[cloudtime] Add extractor

totalwebcasting
Sergey M․ 9 years ago
parent
commit
636aa83ed3
2 changed files with 15 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/__init__.py
  2. +14
    -0
      youtube_dl/extractor/novamov.py

+ 1
- 0
youtube_dl/extractor/__init__.py View File

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


+ 14
- 0
youtube_dl/extractor/novamov.py 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

Loading…
Cancel
Save