Giter Site home page Giter Site logo

smzdmcheck-in's Introduction

什么值得买自动签到脚本

功能

  • 自动签到
  • 签到后可以配置发送邮件提醒

特色:

  • 第一次 login 成功后, 会保存 session 信息, 以后签到不需要再次 login, 避免频繁请求
  • 使用原生包, 不需要安装依赖

注: 请使用 python3 运行

配置方法

编辑 config.ini, 填入对应的 smzdm 帐号, 密码.

填入邮箱信息可以在签到后收到邮件, 签到失败时会收到签到失败的邮件, 方便及时补签. 目前只测试过 QQ 邮箱.

另外使用 QQ 邮箱需要获取特殊的密码(授权吗), 具体请参考什么是授权码,它又是如何设置?

如果不使用邮箱, 请将主函数中的 sendMail(-1, message) 改成 pass

配置定时任务

在操作系统上配置定时任务:

$ chmod +x path/to/smzdm_checkin.py
$ crontab -e

## config to execute the script on 6 and 20 O'clock everyday
0 6,20 * * * cd /home/green/smzdm && python3 smzdm_checkin.py > /tmp/smzdm.log 2>&1

smzdmcheck-in's People

Stargazers

 avatar  avatar

Watchers

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