Git Product home page Git Product logo

wxwork-healthreport's Introduction

南京邮电大学 企业微信 自动健康打卡

哦吼,停止打卡了,没啥用了啊

本脚本支持所有在 工作台-健康打卡 中打卡的企业微信

食用方法

Python3环境的用户:

  1. 给我点个star, 前往release下载HealthReport.zip文件, 并解压

  2. 登录电脑版企业微信, 打开抓包工具(如Charles, 需要安装证书, 自行上网查阅资料), 在企业微信中打开工作台-健康上报, 抓包, 寻找https://work.weixin.qq.com/healthreport/share的请求, 并将请求头的Cookies中的相关值填入json/cookies.json中, 保存

  3. 安装相关依赖

     pip install -r requirements.txt
  4. python3 main.py即可,根据提示设置好答案, 程序会定时打卡

Python3环境的用户:

  1. 给我点个star, 前往release下载main.exe(Windows amd64)或main(Linux amd64)文件, 并解压

  2. 运行main.exemain, 注意windows用户双击运行后会生成.bat文件, 请再次双击运行.bat文件, linux用户请在终端中运行./main

  3. 在生成的json文件夹中, 打开cookies.json文件, 将cookies中的相关值填入json/cookies.json中, 保存 (参考上面的方法)

  4. 根据提示填好答案并保持运行即可

注意: 企业版微信不可以点退出登录, 只可以从右下角右键退出, 否则可能会失效

TODO:

  1. 找到更好的获取cookies和保活的方法,希望有大佬可以提出Issue
  2. 支持更多的通知方式, 包括但不限于QQ机器人/企业微信推送等等

wxwork-healthreport's People

Contributors

fishze avatar lhz226 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lhz226

wxwork-healthreport's Issues

请问如何获取cookie

尝试对电脑手机客户端进行抓包,都无法获取cookie。客户端的ssl证书应该是内置的,系统安装了抓包软件的证书并不能解包

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.