]> jfr.im git - yt-dlp.git/blame - youtube_dl/extractor/divxstage.py
Credit @gebn for moviefap
[yt-dlp.git] / youtube_dl / extractor / divxstage.py
CommitLineData
6f88df2c
S
1from __future__ import unicode_literals
2
3from .novamov import NovaMovIE
4
5
6class DivxStageIE(NovaMovIE):
cca37fba 7 IE_NAME = 'divxstage'
6f88df2c
S
8 IE_DESC = 'DivxStage'
9
3e8fcd9f 10 _VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'divxstage\.(?:eu|net|ch|co|at|ag|to)'}
6f88df2c
S
11
12 _HOST = 'www.divxstage.eu'
13
14 _FILE_DELETED_REGEX = r'>This file no longer exists on our servers.<'
15 _TITLE_REGEX = r'<div class="video_det">\s*<strong>([^<]+)</strong>'
16 _DESCRIPTION_REGEX = r'<div class="video_det">\s*<strong>[^<]+</strong>\s*<p>([^<]+)</p>'
17
18 _TEST = {
19 'url': 'http://www.divxstage.eu/video/57f238e2e5e01',
20 'md5': '63969f6eb26533a1968c4d325be63e72',
21 'info_dict': {
22 'id': '57f238e2e5e01',
23 'ext': 'flv',
24 'title': 'youtubedl test video',
25 'description': 'This is a test video for youtubedl.',
26 }
3e8fcd9f 27 }