MrBrax / LiveStreamDVR

An automatic livestream recorder
MIT License
309 stars 24 forks source link

Kick stream API error #465

Open stadler0 opened 9 months ago

stadler0 commented 9 months ago

web_1 | 2023-09-27T18:09:42.104Z | KickAPI.getRequest <error> Error getting data (https://kick.com/api/v1/users/bbjess): 403 Forbidden web_1 | 2023-09-27T18:09:42.104Z | KickAPI.GetUser <error> Error getting user data: Unexpected token '<', "<!DOCTYPE "... is not valid JSON web_1 | 2023-09-27T18:09:42.105Z | http.api <error> API error 400 returned: {"status":"ERROR","message":"User not found"} web_1 | ::ffff:192.168.10.113 - - [27/Sep/2023:18:09:42 +0000] "GET /api/v0/kickapi/users/bbjess HTTP/1.1" 400 45 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"

Can not get user from api and cannot add stream from kick

MrBrax commented 9 months ago

current kick api has cloudflare checks over it, their public api seems to be launching soon-ish probably?

stadler0 commented 9 months ago

Is there a way the pass the checks? If not I will just wait :)

MrBrax commented 9 months ago

not that i know of, they're there for a reason. would need to add like an embedded browser and at that point it's just considered api abuse

stadler0 commented 9 months ago

Okay thanks for the help! Will be waiting for the public api then ^^

MrBrax commented 7 months ago

also the biggest factor here is streamlink adding support, without that it would require a lot of workarounds