From 94f815f2a93dd276258d92989380bbeda13af7aa Mon Sep 17 00:00:00 2001 From: CasperMcFadden95 <145611964+CasperMcFadden95@users.noreply.github.com> Date: Wed, 18 Jun 2025 18:56:19 +0000 Subject: [PATCH] Update yt_dlp/extractor/dzsecurity.py Co-authored-by: D Trombett --- yt_dlp/extractor/dzsecurity.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yt_dlp/extractor/dzsecurity.py b/yt_dlp/extractor/dzsecurity.py index 0dcf09d5f..8b3f55e8e 100644 --- a/yt_dlp/extractor/dzsecurity.py +++ b/yt_dlp/extractor/dzsecurity.py @@ -45,8 +45,7 @@ class DzsecurityLiveIE(InfoExtractor): def _real_extract(self, url): webpage = self._download_webpage(url, url) - title_match = re.search(r'(.*?)', webpage, re.IGNORECASE | re.DOTALL) - title = title_match.group(1).strip() if title_match else 'Live Stream' + title = self._html_extract_title(webpage, default='Live Stream') player_url_match = re.search( r'https://live\.dzsecurity\.net/live/player/([a-zA-Z0-9_-]+)',