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.

25 lines
864 B

  1. from __future__ import unicode_literals
  2. from .tnaflix import TNAFlixIE
  3. class EMPFlixIE(TNAFlixIE):
  4. _VALID_URL = r'^https?://www\.empflix\.com/videos/(?P<display_id>[0-9a-zA-Z-]+)-(?P<id>[0-9]+)\.html'
  5. _TITLE_REGEX = r'name="title" value="(?P<title>[^"]*)"'
  6. _DESCRIPTION_REGEX = r'name="description" value="([^"]*)"'
  7. _CONFIG_REGEX = r'flashvars\.config\s*=\s*escape\("([^"]+)"'
  8. _TEST = {
  9. 'url': 'http://www.empflix.com/videos/Amateur-Finger-Fuck-33051.html',
  10. 'md5': 'b1bc15b6412d33902d6e5952035fcabc',
  11. 'info_dict': {
  12. 'id': '33051',
  13. 'display_id': 'Amateur-Finger-Fuck',
  14. 'ext': 'mp4',
  15. 'title': 'Amateur Finger Fuck',
  16. 'description': 'Amateur solo finger fucking.',
  17. 'thumbnail': 're:https?://.*\.jpg$',
  18. 'age_limit': 18,
  19. }
  20. }