-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse url failed: request m3u8 URL failed: http error: status code 403 #2
Comments
Same problem I'm about to ask this as well Is there any way to add headers? |
hi, I'm not too familiar with the code just yet and am barely about to use it myself this week. Error 403 means you didn't have any access to the resource you requested, you probably need authorization headers like zackmark29 hinted. If you know how to generate the authorization header value, or know where to scrape it, it shouldn't be too hard for me modify this code so you can pass it through |
I've been able to download protected video by setting two headers: Cookie and User-Agent.
You might need other headers depending on how the website you're downloading from works |
the ?token after the .m3u8 probably confuses the m3u8 reader |
Bro. That was 2020 =D |
👍 |
Hello, I'm trying to download a SiriusXM stream and got the following error:
.\m3u8-windows-10-x64 -u="https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1587734244_df40af36598eb6b72bd08d0470d1f78d&consumer=k2&gupId=3BDA15C5F23ADEEFE7B02D01A66968D4" -o="C:\downloads" Panic: parse url failed: request m3u8 URL failed: http error: status code 403
Is it related to the wrong master.m3u8 parsed?
To try it by yourself please go here with USA Vpn:
https://player.siriusxm.com/home/foryou > start free preview > all channels > and choose channel 75 (Met Opera Radio).
Thanks for looking into this!
The text was updated successfully, but these errors were encountered: