mlbv-archived icon indicating copy to clipboard operation
mlbv-archived copied to clipboard

403 forbidden error

Open eithrial opened this issue 4 years ago • 6 comments

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.

eithrial avatar Oct 08 '19 17:10 eithrial

I'm seeing it as well.

kmac avatar Oct 08 '19 17:10 kmac

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?

eithrial avatar Oct 08 '19 21:10 eithrial

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

kmac avatar Oct 08 '19 23:10 kmac

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

tonywagner avatar Oct 13 '19 13:10 tonywagner

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

tonywagner avatar Oct 13 '19 13:10 tonywagner

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.

kmac avatar Mar 28 '21 19:03 kmac