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.

33 lines
1.0 KiB

  1. from __future__ import unicode_literals
  2. from .nuevo import NuevoBaseIE
  3. class NonkTubeIE(NuevoBaseIE):
  4. _VALID_URL = r'https?://(?:www\.)?nonktube\.com/(?:(?:video|embed)/|media/nuevo/embed\.php\?.*?\bid=)(?P<id>\d+)'
  5. _TESTS = [{
  6. 'url': 'https://www.nonktube.com/video/118636/sensual-wife-uncensored-fucked-in-hairy-pussy-and-facialized',
  7. 'info_dict': {
  8. 'id': '118636',
  9. 'ext': 'mp4',
  10. 'title': 'Sensual Wife Uncensored Fucked In Hairy Pussy And Facialized',
  11. 'age_limit': 18,
  12. 'duration': 1150.98,
  13. },
  14. 'params': {
  15. 'skip_download': True,
  16. }
  17. }, {
  18. 'url': 'https://www.nonktube.com/embed/118636',
  19. 'only_matching': True,
  20. }]
  21. def _real_extract(self, url):
  22. video_id = self._match_id(url)
  23. info = self._extract_nuevo(
  24. 'https://www.nonktube.com/media/nuevo/econfig.php?key=%s'
  25. % video_id, video_id)
  26. info['age_limit'] = 18
  27. return info