2bc4 / streamlink-ttvlol

Streamlink Twitch plugin modified to work with the TTV.LOL API
BSD 2-Clause "Simplified" License
158 stars 6 forks source link

Unable to load streams #39

Closed retraenn closed 1 year ago

retraenn commented 1 year ago

Today I was suddenly unable to load streams, I thought it was the proxy playlist I was using (ttv.lol and luminous) but when I remove those options and try to load the stream normally I get this error:

Streamlink Twitch plugin (2bc4 fork). Please report issues to https://github.com/2bc4/streamlink-ttvlol/issues Found matching plugin twitch for URL twitch.tv/avoidingthepuddle Traceback (most recent call last): File "C:\Users\user\AppData\Local\Streamlink\pkgs\streamlink\plugins\twitch.py", line 733, in _access_token

2bc4 commented 1 year ago

Upstream issue, it also happens without this patch. It seems like twitch is up to something. Both luminous and ttvlol servers started failing requests at the same time as well.

EDIT: Looks like twitch implemented an integrity check. Will have to wait and see if upstream streamlink or luminous/ttvlol can bypass it.

Coldblackice commented 1 year ago

Experiencing this same issue as of an hour ago.

Sokoloft commented 1 year ago

Someone posted a java script that is supposed to pull the information needed, however I have no idea how to use it. Can find it here. https://github.com/streamlink/streamlink/issues/5370#issuecomment-1571848566

brian6932 commented 1 year ago

You can bypass Twitch's Kasada client-integrity checks by using a token generated from a TV CID How to do so can be found here Ofc if this is ttvlol's doing, then they would have to adjust their CID and if they are using a token, regen accordingly

2bc4 commented 1 year ago

Yes that would have to be done on their side. If it comes down to it, I don't think it would be difficult to add that to luminous at least for private instances.

DannyDarth commented 1 year ago

using this header "--twitch-api-header Client-ID=ue6666qo983tsx6so1t0vnawi233wa" seems to have fixed the problem. Atleast for now.

retraenn commented 1 year ago

It looks like luminous got an update. Seems to be working for me.

https://github.com/AlyoshaVasilieva/luminous-ttv/issues/13#issuecomment-1572608797

Sokoloft commented 1 year ago

wtf. So now that there is a workaround twitch rolled back the changes. My streamlink is working without the Client-ID header. As well as my old version of luminous-ttv. What gives? Maybe they see people worked around it and are going to reimplement it later?

https://github.com/streamlink/streamlink/issues/5370#issuecomment-1572804535

Coldblackice commented 1 year ago

Hey it's working for me again?

Sokoloft commented 1 year ago

Hey it's working for me again?

Yes. That is what I pointed out. So twitch is up to something. They're likely in talks with the kasada company to close openings people have found like the Client-ID header that was found. I'm assuming they rolled back the changes for now to later reimplement once they give it more dev.

2bc4 commented 1 year ago

Interesting. Well, I'll reopen this when everything breaks again.

Sokoloft commented 1 year ago

Is relevant to the issue.

https://github.com/streamlink/streamlink/issues/5370#issuecomment-1572883416

So its a warning.