]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/divxstage.py
4ca3f37a223a0ce4790a123a79233440ffcc2c24
1 from __future__
import unicode_literals
3 from .novamov
import NovaMovIE
6 class DivxStageIE(NovaMovIE
):
10 _VALID_URL
= NovaMovIE
._VALID
_URL
_TEMPLATE
% {'host': 'divxstage\.(?:eu|net|ch|co|at|ag)'}
12 _HOST
= 'www.divxstage.eu'
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>'
19 'url': 'http://www.divxstage.eu/video/57f238e2e5e01',
20 'md5': '63969f6eb26533a1968c4d325be63e72',
22 'id': '57f238e2e5e01',
24 'title': 'youtubedl test video',
25 'description': 'This is a test video for youtubedl.',