Coder Social home page Coder Social logo

auto-sign-in-t00ls.net's Introduction

Auto-sign-in-T00ls.com V1.4

基于土司官方api的自动签到脚本

更新说明: 2021.9.19:修复了土司更换域名导致的错误,目前统一采用com域名进行签到。
2020.8.18:修复了pickle未导入的bug(其实是传错版本了。。)raddyfiy#2 (comment)
2020.7.7:账号密码登录后自动保存cookie,在失效前免登录,失效后再用密码登录
2020.4.9:@we1x4n 添加了webhook以使用微信查看签到结果
2020.3.28:修正api导致的错误

准备环境:

python3、可写的目录权限(用于生成日志)

用法:

1. Windows下设置自动签到:
1) . 打开命令行cmd,输入: 
 schtasks /create /sc daily /tn "t00ls_sign" /tr "python Auto_tools_signin.py"

2) .在cmd输入compmgmt.msc,打开计算机管理,在左侧选择系统工具->任务计划程序->活动任务->找到t00ls_sign双击->属性->操作->编辑,
  在“起始于”里写入你存放脚本的文件夹路径。

image

3) .上面两步都要做,可以在log.txt查看签到日志.
2. Linux下设置自动签到:
1) 
  crontab -e

2) 写以下指令,每天5.00am自动执行。
  0 5 * * * python /path/Auto_tools_signin.py
3. 手动签到一次:
python3 Auto_tools_signin.py

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.