]> jfr.im git - yt-dlp.git/blame - youtube_dl/extractor/movshare.py
[divxstage] Add support for divxstage.eu
[yt-dlp.git] / youtube_dl / extractor / movshare.py
CommitLineData
1ff7c0f7
S
1from __future__ import unicode_literals
2
3from .novamov import NovaMovIE
4
5
6class MovShareIE(NovaMovIE):
7 IE_NAME = 'movshare'
8 IE_DESC = 'MovShare'
9
10 _VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'movshare\.(?:net|sx)'}
11
12 _HOST = 'www.movshare.net'
13
14 _TITLE_REGEX = r'<strong>Title:</strong> ([^<]+)</p>'
15 _DESCRIPTION_REGEX = r'<strong>Description:</strong> ([^<]+)</p>'
16
17 _TEST = {
18 'url': 'http://www.movshare.net/video/559e28be54d96',
19 'md5': 'abd31a2132947262c50429e1d16c1bfd',
20 'info_dict': {
21 'id': '559e28be54d96',
22 'ext': 'flv',
23 'title': 'dissapeared image',
24 'description': 'optical illusion dissapeared image magic illusion',
25 }
26 }