Coder Social home page Coder Social logo

igotolibrary's Introduction

07.22: 代码整理中, 稍后commit

注意:

i. 此版本代码已经年久失修

ii. 功能已经不能保证

iii. 仅供参考学习交流使用

另外,程序目前来看应该是已经失效,有需求的可以自己按照这个流程重新抓包获取通信协议,更新自习室和座位表,修改代码模拟抢座。

正在重启工程 igotolibrary ...


igotolibrary-抢座助手

language license

简介

一个简单的 Python 爬虫,通过 Charles 抓包分析公众号《我去图书馆》、《来选座》的服务通信协议,获取自习室和座位表信息,使用Python+requests库模拟预定座位的流程,实现定时/实时自动抢座。


运行方式

    1. 先抓包获取sessionid;
    1. 填入配置文件,

    格式为:

    [user1]=[sessionid],[第几自习室],[几号座位],[第几自习室],[几号座位]  ...
    

    比如:

    user1 = 29ijfnxxxxxxxxxxxxx24dbsl6,1,80,2,81 
    

    代表你想抢的座位是第一自习室80号座位,备选座位是第二自习室81号座位;

  • 填写完成保存退出,然后当前目录启动cmd,输入

    python RSmain.py 

    即可运行。


部署demo

我已将工程部署到了微信 《为了学习》公众号,欢迎测试,服务启动中...

mahua

有问题可留言或联系管理员

igotolibrary's People

Contributors

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