mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 12:40:11 +09:00
Merge eea5da4eef
into c5098961b0
This commit is contained in:
commit
89409d1313
@ -26,9 +26,12 @@ class SkylineWebcamsIE(InfoExtractor):
|
|||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
stream_url = self._search_regex(
|
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')
|
'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)
|
title = self._og_search_title(webpage)
|
||||||
description = self._og_search_description(webpage)
|
description = self._og_search_description(webpage)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user