• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created over 2 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

叮咚买菜相关工具

maicai.ddxq.tools

Checker.sh

描述
每隔一段时间检查今天是否有可配送时段,有则推送到手机

MacOS+iOS使用

手机请安装Bark推送工具

# 在MacOS终端运行如下命令
brew install curl
brew install jq
# 修改checker.sh内容,填充cURL和BarkID
bash checker.sh

CentOS 服务器+iOS使用

yum install screen
yum install jq
wget https://raw.githubusercontent.com/6r6/maicai.ddxq.tools/main/checker.sh
# 修改checker.sh内容,将抓包获得的项目、BarkID填充至对应位置
# BarkID在安装应用、注册设备后获得 示例:https://api.day.app/这里是BarkID/
# 挂载后台运行,避免会话关闭任务停止
screen -S shopping 
bash checker.sh
# 查看后台会话
screen -r shopping