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