Merge eea5da4eef9d74760f36410768188bcc91beae88 into 3eb8d22ddb8982ca4fb56bb7a8d6517538bf14c6

This commit is contained in:
Microeinstein 2025-04-01 08:08:33 +02:00 committed by GitHub
commit 0ddadbba55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,9 +26,12 @@ class SkylineWebcamsIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
stream_url = self._search_regex(
r'(?:url|source)\s*:\s*(["\'])(?P<url>(?:https?:)?//.+?\.m3u8.*?)\1', webpage,
r'(?:url|source)\s*:\s*(["\'])(?P<url>(?:https?:)?(?://)?\S+?\.m3u8.*?)\1', webpage,
'stream url', group='url')
if 'skylinewebcams.com' not in stream_url and 'livee.m3u8' in stream_url:
stream_url = stream_url.replace('livee.m3u8', 'https://hd-auth.skylinewebcams.com/live.m3u8')
title = self._og_search_title(webpage)
description = self._og_search_description(webpage)