get daily bonus using nodejs for Anankke/SSPanel-Uim: SSPanel V3 project try to get daily bonus for every 12 hrs
- stateless and can be deployed as serverless function
failed to read data of login request, gotaxios
instread ofaxios
which doesnt support promise''
instead, may got 302 block from cf. use mannual promise to support request which returns Request rather than Promise(axios returns Promise).- node > 10
0 0 1,9,17 * * * *
for 1,9,17 o'clock daily- test button can be found at the edit page, but I always fail to edit edit the code
- get 302 redirect at checkin stage for couldfare audit. It's not a good idea to host it in cloud since most of them has CDN which blocks automate access to the webstie from cloud.
- there's limits on logging in cloud function testing, return big object in resolve for output value and then view it instead.
- edit configure.js for your info
npm install
npm test
to test for oncenpm start
for every 12h
use screen or other method to run the scripts in background