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.

22 lines
689 B

  1. # encoding: utf-8
  2. from .canalplus import CanalplusIE
  3. class D8IE(CanalplusIE):
  4. _VALID_URL = r'https?://www\.d8\.tv/.*?/(?P<path>.*)'
  5. _VIDEO_INFO_TEMPLATE = 'http://service.canal-plus.com/video/rest/getVideosLiees/d8/%s'
  6. IE_NAME = u'd8.tv'
  7. _TEST = {
  8. u'url': u'http://www.d8.tv/d8-docs-mags/pid6589-d8-campagne-intime.html',
  9. u'file': u'966289.flv',
  10. u'info_dict': {
  11. u'title': u'Campagne intime - Documentaire exceptionnel',
  12. u'description': u'md5:d2643b799fb190846ae09c61e59a859f',
  13. u'upload_date': u'20131108',
  14. },
  15. u'params': {
  16. # rtmp
  17. u'skip_download': True,
  18. },
  19. }