]>
Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/nowvideo.py
1 from __future__
import unicode_literals
3 from .novamov
import NovaMovIE
6 class NowVideoIE(NovaMovIE
):
10 _VALID_URL
= NovaMovIE
._VALID
_URL
_TEMPLATE
% {'host': 'nowvideo\.(?:ch|ec|sx|eu|at|ag|co|li)'}
12 _HOST
= 'www.nowvideo.ch'
14 _FILE_DELETED_REGEX
= r
'>This file no longer exists on our servers.<'
15 _FILEKEY_REGEX
= r
'var fkzd="([^"]+)";'
16 _TITLE_REGEX
= r
'<h4>([^<]+)</h4>'
17 _DESCRIPTION_REGEX
= r
'</h4>\s*<p>([^<]+)</p>'
20 'url': 'http://www.nowvideo.ch/video/0mw0yow7b6dxa',
21 'md5': 'f8fbbc8add72bd95b7850c6a02fc8817',
23 'id': '0mw0yow7b6dxa',
25 'title': 'youtubedl test video _BaW_jenozKc.mp4',
26 'description': 'Description',