]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/videoweed.py
debian/changelog: Initiate a new release.
[youtubedl] / youtube_dl / extractor / videoweed.py
1 from __future__ import unicode_literals
2
3 from .novamov import NovaMovIE
4
5
6 class VideoWeedIE(NovaMovIE):
7 IE_NAME = 'videoweed'
8 IE_DESC = 'VideoWeed'
9
10 _VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'videoweed\.(?:es|com)'}
11
12 _HOST = 'www.videoweed.es'
13
14 _FILE_DELETED_REGEX = r'>This file no longer exists on our servers.<'
15 _TITLE_REGEX = r'<h1 class="text_shadow">([^<]+)</h1>'
16
17 _TEST = {
18 'url': 'http://www.videoweed.es/file/b42178afbea14',
19 'md5': 'abd31a2132947262c50429e1d16c1bfd',
20 'info_dict': {
21 'id': 'b42178afbea14',
22 'ext': 'flv',
23 'title': 'optical illusion dissapeared image magic illusion',
24 'description': ''
25 },
26 }