Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 930 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 930 Bytes

什么值得买每日签到脚本

1. 实现功能

  • 什么值得买每日签到
  • GitHub Actions每日定时运行
  • 通过pushplus推送运行结果到微信

2. 使用方法

3. 其它

3.1 Cookie获取方法

  • 使用Chrome浏览器访问什么值得买官网, 登录账号
  • 打开开发者工具 (Windows快捷键F12, MacOS快捷键option + command + i)
  • 选择Network, 刷新页面, 选择第一个www.smzdm.com, 找到Requests Headers里的Cookie

3.2 更改运行时间

.github/workflows/main.yml中,找到

- cron: '0 23 * * *'

语法同crontab, 具体自行搜索; 默认为美区时间, 加8h为中国时间