A feature-rich command-line audio/video downloader
[telecinco] Relax _VALID_URL (Closes #6601)
Sergey M․34a4cd0a34bc
diff --git a/youtube_dl/extractor/telecinco.py b/youtube_dl/extractor/telecinco.pyindex a0c744fd16..ae94f055ca 100644--- a/youtube_dl/extractor/telecinco.py+++ b/youtube_dl/extractor/telecinco.py@@ -6,7 +6,7 @@ from .mitele import MiTeleIEclass TelecincoIE(MiTeleIE):IE_NAME = 'telecinco.es'- _VALID_URL = r'https?://www\.telecinco\.es/[^/]+/[^/]+/(?:[^/]+/)?(?P<id>.*?)\.html'+ _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',@@ -23,4 +23,7 @@ class TelecincoIE(MiTeleIE):}, {'url': 'http://www.telecinco.es/informativos/nacional/Pablo_Iglesias-Informativos_Telecinco-entrevista-Pedro_Piqueras_2_1945155182.html','only_matching': True,+ }, {+ 'url': 'http://www.telecinco.es/espanasinirmaslejos/Espana-gran-destino-turistico_2_1240605043.html',+ 'only_matching': True,}]