Hello:
I have installed streamlink latest version (3.1.1) on Windows 10, and I want to download some HLS to save in local hard drive, sometimes, it works well, but sometimes, it didn’t work.
I have one specific example, in which, I can view the live HLS via Google Chrome browser, it uses JavaScript video player, but I inspected the network traffic, and I got the HLS M3U8 link, so I tried to download it and save to my PC hard drive, but it didn’t work.
So, I tried to debug to find out what went wrong, here is the detailed debug output:
D:\Videos\Download>streamlink --http-header "Referer=https://live-streamfootball.com/" --hls-duration 00:00:3480 https://m3u.1proxy.xyz/sv1/go_10/index.m3u8 best -f -o Test_A.mp4 -l debug
[cli][debug] OS: Windows 10
[cli][debug] Python: 3.9.8
[cli][debug] Streamlink: 3.0.3
[cli][debug] Requests(2.26.0), Socks(1.7.1), Websocket(1.2.1)
[cli][debug] Arguments:
[cli][debug] url=https://m3u.1proxy.xyz/sv1/go_10/index.m3u8
[cli][debug] stream=['best']
[cli][debug] --loglevel=debug
[cli][debug] --output=Test_A.mp4
[cli][debug] --force=True
[cli][debug] --hls-duration=3480
[cli][debug] --hls-segment-threads=10
[cli][debug] --ffmpeg-ffmpeg=C:\Program Files\StreamLink\ffmpeg\ffmpeg.exe
[cli][debug] --http-header=[('Referer', 'https://live-streamfootball.com/')]
[cli][info] Found matching plugin hls for URL https://m3u.1proxy.xyz/sv1/go_10/index.m3u8
[plugins.hls][debug] URL=https://m3u.1proxy.xyz/sv1/go_10/index.m3u8; params={}
[utils.l10n][debug] Language code: en_US
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[stream.hls][debug] Reloading playlist
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.segmented][debug] Closing worker thread
[stream.segmented][debug] Closing writer thread
[stream.segmented][debug] Closing writer thread
[cli][error] Try 1/1: Could not open stream <HLSStream('https://m3u.1proxy.xyz/sv1/go_10/index.m3u8', None)> (Failed to read data from stream: Read timeout)
error: Could not open stream <HLSStream('https://m3u.1proxy.xyz/sv1/go_10/index.m3u8', None)>, tried 1 times, exiting
[cli][info] Closing currently open stream...
I looked at Chrome DevTools, and found the following request headers:
:authority: m3u.1proxy.xyz
:method: GET
ath: /sv1/go_10/bingsport.m3u8
cheme: https
accept: */*
accept-encoding: gzip, deflate, br
accept-language: en-GB,en-US;q=0.9,en;q=0.8
if-none-match: W/"2bb-CRVPnTXAY+7JUt1Wu+ZJUCByPy0"
origin: https://live-streamfootball.com
referer: https://live-streamfootball.com/
sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Please advise on how I can add/change any parameters in streamlink, so I can download the HLS and save to my local hard drive.
Other similar HLS links are:
"https://m3u.1proxy.xyz/sv2/go_11/index.m3u8"
"https://m3u.1proxy.xyz/sv1/go_02/index.m3u8"
+ Reply to Thread
Results 1 to 3 of 3
-
-
Need the mother url of the page, not the m3u8(s) to advise. These may / may not be the correct m3u8's.
PM or discord me if you dont want to post url publicly.
Plus your syntax contains errors, and your req headers need to be POST not GET.Last edited by codehound; 9th Feb 2022 at 15:35.
Similar Threads
-
Need assistance with ddl HLS encrypted from a local TV broadcaster
By asiniv in forum Video Streaming DownloadingReplies: 15Last Post: 26th Aug 2020, 10:17 -
How to download WE-PLAY.TV with Streamlink?
By minegroasprilla in forum Video Streaming DownloadingReplies: 2Last Post: 3rd Aug 2020, 14:30 -
Download Movies to External Hard Drive
By Waue1978 in forum Video Streaming DownloadingReplies: 4Last Post: 1st May 2020, 10:57 -
Help Recording m38u HLS aac stream with ffmpeg (streamlink works)
By Neilyboy in forum Video Streaming DownloadingReplies: 2Last Post: 10th Apr 2020, 06:51 -
External Hard Drive - to save my videos and other content
By eager to learn in forum Newbie / General discussionsReplies: 4Last Post: 16th Oct 2017, 19:57