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.

37 lines
1.4 KiB

  1. # coding: utf-8
  2. from __future__ import unicode_literals
  3. from .spike import ParamountNetworkIE
  4. class TVLandIE(ParamountNetworkIE):
  5. IE_NAME = 'tvland.com'
  6. _VALID_URL = r'https?://(?:www\.)?tvland\.com/(?:video-clips|(?:full-)?episodes)/(?P<id>[^/?#.]+)'
  7. _FEED_URL = 'http://www.tvland.com/feeds/mrss/'
  8. _TESTS = [{
  9. # Geo-restricted. Without a proxy metadata are still there. With a
  10. # proxy it redirects to http://m.tvland.com/app/
  11. 'url': 'https://www.tvland.com/episodes/s04pzf/everybody-loves-raymond-the-dog-season-1-ep-19',
  12. 'info_dict': {
  13. 'description': 'md5:84928e7a8ad6649371fbf5da5e1ad75a',
  14. 'title': 'The Dog',
  15. },
  16. 'playlist_mincount': 5,
  17. }, {
  18. 'url': 'https://www.tvland.com/video-clips/4n87f2/younger-a-first-look-at-younger-season-6',
  19. 'md5': 'e2c6389401cf485df26c79c247b08713',
  20. 'info_dict': {
  21. 'id': '891f7d3c-5b5b-4753-b879-b7ba1a601757',
  22. 'ext': 'mp4',
  23. 'title': 'Younger|April 30, 2019|6|NO-EPISODE#|A First Look at Younger Season 6',
  24. 'description': 'md5:595ea74578d3a888ae878dfd1c7d4ab2',
  25. 'upload_date': '20190430',
  26. 'timestamp': 1556658000,
  27. },
  28. 'params': {
  29. 'skip_download': True,
  30. },
  31. }, {
  32. 'url': 'http://www.tvland.com/full-episodes/iu0hz6/younger-a-kiss-is-just-a-kiss-season-3-ep-301',
  33. 'only_matching': True,
  34. }]