xenova / chat-downloader

A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts. No authentication needed!
https://chat-downloader.readthedocs.io/
MIT License
906 stars 127 forks source link

[QUESTION] What is this Twitch Client_ID #173

Closed tomy137 closed 1 year ago

tomy137 commented 1 year ago

What is your question?

Hey there, thanks for your chat-downloader. It's very usefull !

I tried to change the client_id for Twitch VOD chats requests with mine. But the V5 API reject my request. Why is yours working ? I'm pretty curious about that. Where did you find that client_id ? Can I get one on my own ?

image

Thanks in advance for your anwser ! Have a good day !

TheTechRobo commented 1 year ago

I'm 99% sure this is using GQL, which is Twitch's undocumented API as used by the website. It's GraphQL, and you can find the client id in the requests sent and received by your browser.

Edit: Nevermind, disregard

xenova commented 1 year ago

Hi there. It is the client ID for unauthenticated requests. That is, if you are logged out, all requests will be made with that client ID (you can test it out by opening twitch in incognito)