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.

27 lines
826 B

10 years ago
  1. from __future__ import unicode_literals
  2. from .novamov import NovaMovIE
  3. class MovShareIE(NovaMovIE):
  4. IE_NAME = 'movshare'
  5. IE_DESC = 'MovShare'
  6. _VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'movshare\.(?:net|sx|ag)'}
  7. _HOST = 'www.movshare.net'
  8. _FILE_DELETED_REGEX = r'>This file no longer exists on our servers.<'
  9. _TITLE_REGEX = r'<strong>Title:</strong> ([^<]+)</p>'
  10. _DESCRIPTION_REGEX = r'<strong>Description:</strong> ([^<]+)</p>'
  11. _TEST = {
  12. 'url': 'http://www.movshare.net/video/559e28be54d96',
  13. 'md5': 'abd31a2132947262c50429e1d16c1bfd',
  14. 'info_dict': {
  15. 'id': '559e28be54d96',
  16. 'ext': 'flv',
  17. 'title': 'dissapeared image',
  18. 'description': 'optical illusion dissapeared image magic illusion',
  19. }
  20. }