Coder Social home page Coder Social logo

smzdm's Introduction

什么值得买每日签到脚本

1. 实现功能

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

2. 使用方法

  1. Fork此仓库项目>点击右上角Fork按钮即可, 欢迎点star~
  2. Secret新增COOKIE, 填入什么值得买官网获取的Cookie信息, 详见
  3. (可选) Secret新增PUSH_PLUS_TOKEN用于推送通知, 详见
  4. Fork后须手动开启GitHub Actions

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为**时间

CHANGELOG

  • 2020-02-26: 使用pushplus代替Server酱进行推送

smzdm's People

Contributors

easypickings avatar guider avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.