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
764 B

10 years ago
  1. # coding: utf-8
  2. from __future__ import unicode_literals
  3. from .mitele import MiTeleIE
  4. class TelecincoIE(MiTeleIE):
  5. IE_NAME = 'telecinco.es'
  6. _VALID_URL = r'https?://www\.telecinco\.es/[^/]+/[^/]+/(?:[^/]+/)?(?P<id>.*?)\.html'
  7. _TESTS = [{
  8. 'url': 'http://www.telecinco.es/robinfood/temporada-01/t01xp14/Bacalao-cocochas-pil-pil_0_1876350223.html',
  9. 'info_dict': {
  10. 'id': 'MDSVID20141015_0058',
  11. 'ext': 'mp4',
  12. 'title': 'Con Martín Berasategui, hacer un bacalao al ...',
  13. 'duration': 662,
  14. },
  15. }, {
  16. 'url': 'http://www.telecinco.es/informativos/nacional/Pablo_Iglesias-Informativos_Telecinco-entrevista-Pedro_Piqueras_2_1945155182.html',
  17. 'only_matching': True,
  18. }]