mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-27 17:08:32 +00:00
Update yt_dlp/extractor/dzsecurity.py
Co-authored-by: D Trombett <d@trombett.org>
This commit is contained in:
parent
d8f2be5e06
commit
94f815f2a9
@ -45,8 +45,7 @@ class DzsecurityLiveIE(InfoExtractor):
|
||||
def _real_extract(self, url):
|
||||
webpage = self._download_webpage(url, url)
|
||||
|
||||
title_match = re.search(r'<title>(.*?)</title>', 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_-]+)',
|
||||
|
Loading…
Reference in New Issue
Block a user