1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-24 12:32:52 +08:00
youtube-dl/youtube_dl/extractor/videoweed.py

27 lines
739 B
Python
Raw Normal View History

from __future__ import unicode_literals
2014-04-05 16:32:55 +08:00
from .novamov import NovaMovIE
2014-04-05 16:32:55 +08:00
class VideoWeedIE(NovaMovIE):
IE_NAME = 'videoweed'
2014-04-05 16:32:55 +08:00
IE_DESC = 'VideoWeed'
_VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'videoweed\.(?:es|com)'}
_HOST = 'www.videoweed.es'
2014-04-05 17:32:14 +08:00
_FILE_DELETED_REGEX = r'>This file no longer exists on our servers.<'
_TITLE_REGEX = r'<h1 class="text_shadow">([^<]+)</h1>'
_TEST = {
2014-04-05 16:32:55 +08:00
'url': 'http://www.videoweed.es/file/b42178afbea14',
'md5': 'abd31a2132947262c50429e1d16c1bfd',
'info_dict': {
2014-04-05 16:32:55 +08:00
'id': 'b42178afbea14',
'ext': 'flv',
2014-04-05 16:32:55 +08:00
'title': 'optical illusion dissapeared image magic illusion',
'description': ''
},
2014-11-24 03:41:03 +08:00
}