1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-05 09:54:32 +01: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 10:32:55 +02:00
from .novamov import NovaMovIE
2014-04-05 10:32:55 +02:00
class VideoWeedIE(NovaMovIE):
IE_NAME = 'videoweed'
2014-04-05 10:32:55 +02:00
IE_DESC = 'VideoWeed'
_VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'videoweed\.(?:es|com)'}
_HOST = 'www.videoweed.es'
2014-04-05 11:32:14 +02: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 10:32:55 +02:00
'url': 'http://www.videoweed.es/file/b42178afbea14',
'md5': 'abd31a2132947262c50429e1d16c1bfd',
'info_dict': {
2014-04-05 10:32:55 +02:00
'id': 'b42178afbea14',
'ext': 'flv',
2014-04-05 10:32:55 +02:00
'title': 'optical illusion dissapeared image magic illusion',
'description': ''
},
2014-11-23 20:41:03 +01:00
}