]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[skylinewebcams] Fix extraction (closes #18853)
authorSergey M․ <dstftw@gmail.com>
Mon, 14 Jan 2019 16:23:51 +0000 (23:23 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 14 Jan 2019 16:23:51 +0000 (23:23 +0700)
youtube_dl/extractor/skylinewebcams.py

index 5b4aaac6febdcb82c19eb82777a1f2fb72001eeb..b7f8ac7368724b64d48632ed4e8fedeca0e901f5 100644 (file)
@@ -26,7 +26,7 @@ class SkylineWebcamsIE(InfoExtractor):
         webpage = self._download_webpage(url, video_id)
 
         stream_url = self._search_regex(
-            r'url\s*:\s*(["\'])(?P<url>(?:https?:)?//.+?\.m3u8.*?)\1', webpage,
+            r'(?:url|source)\s*:\s*(["\'])(?P<url>(?:https?:)?//.+?\.m3u8.*?)\1', webpage,
             'stream url', group='url')
 
         title = self._og_search_title(webpage)