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