Giter Site home page Giter Site logo

smzdm_bot's Introduction

什么值得买每日签到脚本

1. 实现功能

  • 什么值得买每日签到
  • 通过 SERVERCHAN推送简单的运行结果到微信
  • github actions 每日7点定时运行

2. 使用方法

  1. Fork 此仓库项目 > 点击右上角fork按钮即可,欢迎点star~
  2. Secret新增SMZDM_COOKIE,填入浏览器调试模式从什么值得买官网cookie信息, 不懂可看下面的其它
  3. (可选)Secret新增SERVERCHAN_SECRETKEY,获取方法可看这篇文章@ruicky教程
  4. fork后必须修改一下文件,才能执行定时任务, 可修改 README.MD, 添加一个空格

3. 其它

3.1 cookie获取方法

  • 首先使用chrome浏览器,访问什么值得买官网, 登陆账号
  • Windows系统可按 F12 快捷键打开开发者工具, Mac 快捷键 option + command + i
  • 选择开发者工具Network,刷新页面 ,选择第一个www.smzdm.com, 找到Requests Headers里的Cookie

3.2 更改执行时间

.github/main.yml中,找到

- cron: '0 0 * * *'

语法同crontab,具体可百度,为美区时间,加8小时为**时间

N. Log

在没有更换SMZDM_COOKIE的情况下,截至2020-12-12, 我的账号已正常签到68天,具体SMZDM_COOKIE有效时间继续验证。
签到截图

  • 2020-10-08
    first push

  • 2020-12-12
    修复如果没有填写SERVERCHAN_SECRETKEY,会在正常签到后报错的问题。
    现在没有SERVERCHAN_SECRETKEY也可以正常签到并不报错。

smzdm_bot's People

Contributors

stark666 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.