TychoTheTaco / Twitch-Drops-Bot

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

How to get games.csv on docker? #154

Open jaredcat opened 2 years ago

jaredcat commented 2 years ago

I'm using docker-compose and want to see the games.csv It doesn't seem easy to generate in this situation, and I'm having issues even if i exec the container. A simple solution might just be to output it to the data folder where that's usually mounted on the host?

~~Also, the readme says we could get the gameid from the image, but I think that's changed and now pulling images from IGDB. Here's an image from fifa https://static-cdn.jtvnw.net/ttv-boxart/1869092879_IGDB-144x192.jpg From the little work I've done with IGDB, I'm pretty sure these IDs don't sync up with Twitch's~~ Update: looks like this is the same image that games.cvs contains Also looks like updategames.js wasn't made to work in containers. I just copy-pasted over: getArgNames(), isInsideDocker() and the corresponding if statement from index.js and it seems to mostly work, besides making me login again

ThisIsCyreX commented 2 years ago

Not sure if this helps, but here is a complete list: Nerothos / TwithGameList