youtube-dl/youtube_dl/extractor/videoweed.py

25 lines
664 B
Python
Raw Normal View History

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