Make it easy to harvest eggs in the game hens lay eggs.
Clone this repo, then set a crontab job to execute it automatically.
First, execute the following commands.
git clone https://github.com/liuwilliamBUPT/Harvest
cd Harvest
chmod +x autoHarvest.sh
crontab -e
Then, set your corntab. For example:
0 */4 * * * bash ~/path/to/Harvest/autoHarvest.sh
Last, copy your cookies using Export cookies.txt Chrome plugin, and paste in cookies.txt.
If necessary, you can execute these commands to add your ServerChan SCEKEY or your qqbot setting to inform you that your cookies have been expired.
vim config
secret_key=your_serverchan_secret_key
qqbot_host=host:port
token=your_qqbot_token
qq=your_qq_id
Please note that only when the crontab interval is a factor of 12 can the newest feature that automatically checks in at midnight work.