Open Aida-Enna opened 3 days ago
I'm pretty sure Google Apps Script doesn't support web scraping, but then again, its main purpose is for handling simple tasks like automating check-ins. I could look around for anyone hosting an API for the codes; the only one I currently know about is this one Star Rail API https://api.ennead.cc/starrail/code.
The API that you're using for the Google Script code redeems doesn't seem to be updating, or updates once every 2? weeks. For example, it didn't have one of the codes for a week and a half, and now it doesn't have the two newest codes in there despite parsing Prydwen in it's source.
I made an issue on their API github but haven't received a response (or fix) in 2 weeks.
I'm not sure if it's just HKRPG either. Sorry for the trouble!
If this is too outside the scope of the google script (which I would understand!), just let me know and I'll switch to the docker instance.