Open mchangrh opened 6 months ago
Currently the bot gets codes from https://www.pockettactics.com/genshin-impact/codes by default. Any reason to add this extra source?
It doesn't require you to fake useragents, the codes are formatted very nicely in the wiki and the wiki seems to be very up-to-date (https://genshin-impact.fandom.com/wiki/Promotional_Code?action=history)
I'm not sure if my serverless worker can handle the load, but you can easily extract the codes with regex
https://github.com/mchangrh/genshin-code-worker/blob/main/src/worker.js
also licenced MIT, I can also work on it if desired