mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-03 16:15:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			858 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			858 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# coding: utf-8
 | 
						|
from __future__ import unicode_literals
 | 
						|
 | 
						|
from .mitele import MiTeleIE
 | 
						|
 | 
						|
 | 
						|
class TelecincoIE(MiTeleIE):
 | 
						|
    IE_NAME = 'telecinco.es'
 | 
						|
    _VALID_URL = r'https?://www\.telecinco\.es/[^/]+/[^/]+/(?:[^/]+/)?(?P<id>.*?)\.html'
 | 
						|
 | 
						|
    _TESTS = [{
 | 
						|
        'url': 'http://www.telecinco.es/robinfood/temporada-01/t01xp14/Bacalao-cocochas-pil-pil_0_1876350223.html',
 | 
						|
        'info_dict': {
 | 
						|
            'id': 'MDSVID20141015_0058',
 | 
						|
            'ext': 'mp4',
 | 
						|
            'title': 'Con Martín Berasategui, hacer un bacalao al ...',
 | 
						|
            'duration': 662,
 | 
						|
        },
 | 
						|
        'params': {
 | 
						|
            # m3u8 download
 | 
						|
            'skip_download': True,
 | 
						|
        },
 | 
						|
    }, {
 | 
						|
        'url': 'http://www.telecinco.es/informativos/nacional/Pablo_Iglesias-Informativos_Telecinco-entrevista-Pedro_Piqueras_2_1945155182.html',
 | 
						|
        'only_matching': True,
 | 
						|
    }]
 |