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.

31 lines
1.1 KiB

  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>.+?)-(?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. _TESTS = [
  9. {
  10. 'url': 'http://www.empflix.com/videos/Amateur-Finger-Fuck-33051.html',
  11. 'md5': 'b1bc15b6412d33902d6e5952035fcabc',
  12. 'info_dict': {
  13. 'id': '33051',
  14. 'display_id': 'Amateur-Finger-Fuck',
  15. 'ext': 'mp4',
  16. 'title': 'Amateur Finger Fuck',
  17. 'description': 'Amateur solo finger fucking.',
  18. 'thumbnail': 're:https?://.*\.jpg$',
  19. 'age_limit': 18,
  20. }
  21. },
  22. {
  23. 'url': 'http://www.empflix.com/videos/[AROMA][ARMD-718]-Aoi-Yoshino-Sawa-25826.html',
  24. 'only_matching': True,
  25. }
  26. ]