Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

403 forbidden error #40

Open
eithrial opened this issue Oct 8, 2019 · 6 comments
Open

403 forbidden error #40

eithrial opened this issue Oct 8, 2019 · 6 comments

Comments

@eithrial
Copy link

eithrial commented Oct 8, 2019

I get error from streamlink: 403 Client Error: Forbidden for url: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1570640590~acl=/*~id=00u8vd65nM6UlYHMl356~data=7b866c73-ee1c-475b-b25c-365a189b4e48~hmac=[..]/ls01/mlb/2019/10/07/Home_VIDEO_spa_Atlanta_Braves_St_Louis_C_20191007_1570469821034/master_desktop_complete-trimmed.m3u8

When I copy and paste m3u8 link to browser is downloads fine. I can also download games using youtube-dl if I pass relevant cookies. It's been happening for a few days now.

@kmac
Copy link
Owner

kmac commented Oct 8, 2019

I'm seeing it as well.

@eithrial
Copy link
Author

eithrial commented Oct 8, 2019

I once got m3u8 address not from akamai cdn and streamlink worked fine with it. Maybe it's relatively easy to force mlbv to use this other cdn provider?

@kmac
Copy link
Owner

kmac commented Oct 8, 2019

I'm not passing all the cookies in to streamlink. I've got a local hack/fix that seems to work - I'll try to push something ASAP.

edit: well, no, that test only worked because it came from level3 cdn. Odd. Still looking.

This URL works (level3):

[cli][info] Found matching plugin hls for URL https://hlslive-llc-ewr1.media.mlb.com/token=exp=1570664973~id=00u8feulogv0cTfeO356~data=e734e2c3-9ad9-4271-8123-e1415df055df~hash=
31e33acddcffad6a7ca2b4ab7f31c7519e8bc3af/ls01/mlb/2019/10/08/Home_VIDEO_spa_Houston_Astros_Tampa_Bay__20191008_1570570636038/master_desktop_complete.m3u8                        

This URL doesn't (akamai):

[cli][info] Found matching plugin hls for URL https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1570665519~acl=/*~id=00u8feulogv0cTfeO356~data=e734e2c3-9ad9-4271-8123-e1415df055d
f~hmac=5d1ff4aa1d9a4b4ff1410fcd29108cba4ac9824281934ed35e357b2dc5d53bb0/58f66c7f398c3dfa06b445861f0be989/ls01/mlb/2019/10/08/Home_VIDEO_spa_Houston_Astros_Tampa_Bay__20191008_15
70570636038/master_desktop_complete.m3u8

@tonywagner
Copy link

tonywagner commented Oct 13, 2019

FWIW, I used mlbv successfully on Thursday (Astros-Rays game 5), Akamai CDN too (akc). Haven't tried it since.

@tonywagner
Copy link

Also, eracknaphobia's Kodi addon has a CDN option in the settings, although I've never used that particular feature.

https://github.com/eracknaphobia/plugin.video.mlbtv

@kmac
Copy link
Owner

kmac commented Mar 28, 2021

I'm just going to leave this open for now since there may be something to do here for CDN settings... not actively looking at this right now though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants