TychoTheTaco / Twitch-Drops-Bot

A Node.js bot that will automatically watch Twitch streams and claim drop rewards.
MIT License
279 stars 36 forks source link

Need a coooke file that created after login or structure for manual creating. #213

Closed AndyShade closed 2 years ago

TychoTheTaco commented 2 years ago

You can use an extension like EditThisCookie

Just login to twitch and export the cookies to clipboard, then paste in a file called cookies-username.json

AndyShade commented 2 years ago

Ty for advice. Also i have 2 ideas to resolve login ussie with devtools-drive browsers can' login. 1.Use dev-tools and running not in private mode - how i can recognize using private mode has primary part of that problem. In normal mode login is successful 2.Some third party twich chat sofware like chatterino or orion (now discomtinuied but good login solution in my view) or tc uses web page to login extract required data. A similar method could be solution to this part of the problem.

I hope my perseverance not bother you much.

TychoTheTaco commented 2 years ago

Ty for advice. Also i have 2 ideas to resolve login ussie with devtools-drive browsers can' login. 1.Use dev-tools and running not in private mode - how i can recognize using private mode has primary part of that problem. In normal mode login is successful 2.Some third party twich chat sofware like chatterino or orion (now discomtinuied but good login solution in my view) or tc uses web page to login extract required data. A similar method could be solution to this part of the problem.

I hope my perseverance not bother you much.

Yea I will look into using the dev tools directly without puppeteer as that is more likely to work.