From 69b2f838d3d3e37dc17367ef64d978db1bea45cf Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Thu, 23 Mar 2023 11:19:37 -0500 Subject: [PATCH] [extractor/telecaribe] Expand livestream support (#6601) Closes #6598 Authored by: bashonly --- yt_dlp/extractor/telecaribe.py | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/yt_dlp/extractor/telecaribe.py b/yt_dlp/extractor/telecaribe.py index b6d88a8090..91118a1a4a 100644 --- a/yt_dlp/extractor/telecaribe.py +++ b/yt_dlp/extractor/telecaribe.py @@ -38,11 +38,23 @@ class TelecaribePlayIE(InfoExtractor): 'params': { 'skip_download': 'Livestream', } + }, { + 'url': 'https://www.play.telecaribe.co/liveplus', + 'info_dict': { + 'id': 'liveplus', + 'title': r're:^SeƱal en vivo Plus', + 'live_status': 'is_live', + 'ext': 'mp4', + }, + 'params': { + 'skip_download': 'Livestream', + }, + 'skip': 'Geo-restricted to Colombia', }] def _download_player_webpage(self, webpage, display_id): page_id = self._search_regex( - (r'window.firstPageId\s*=\s*["\']([^"\']+)', r'