You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
739 B

10 years ago
  1. from __future__ import unicode_literals
  2. from .novamov import NovaMovIE
  3. class VideoWeedIE(NovaMovIE):
  4. IE_NAME = 'videoweed'
  5. IE_DESC = 'VideoWeed'
  6. _VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'videoweed\.(?:es|com)'}
  7. _HOST = 'www.videoweed.es'
  8. _FILE_DELETED_REGEX = r'>This file no longer exists on our servers.<'
  9. _TITLE_REGEX = r'<h1 class="text_shadow">([^<]+)</h1>'
  10. _TEST = {
  11. 'url': 'http://www.videoweed.es/file/b42178afbea14',
  12. 'md5': 'abd31a2132947262c50429e1d16c1bfd',
  13. 'info_dict': {
  14. 'id': 'b42178afbea14',
  15. 'ext': 'flv',
  16. 'title': 'optical illusion dissapeared image magic illusion',
  17. 'description': ''
  18. },
  19. }