Coder Social home page Coder Social logo

wechatbooknswttarenaticket's Introduction

WechatBookNswttArenaTicket

用于自动订微信的南山文体通的场地卷,需要输入微信访问南山文体通的JSESSIONID

执行(需要安装python的requests库):

python wechat_auto_book.py $YOUR_JSESSIONID

我的使用: 在linux系统中,采用cron在工作日的下午2点自动执行这个程序

0 14 * * 1,2,3,4,5 python /home/mania/Codes/badminton/wechat_auto_book.py $MY_JSESSIONID>> /home/mania/Codes/badminton/log

关键是获取JSESSIONID

我采用mitmproxy获取。 linux中安装mitmproxy后,

mitmproxy -p 1234

手机的wifi设置使用这个代理,IP为linux机器的ip,端口就是上面的1234. 这样,手机的流量都会被mitmproxy解析(即使是加密的信息也行,这才是它厉害的地方) 手机进入微信的南山文体通,点击抢劵,这时已经产生POST动作,可以在mitmproxy的输出中看到这个POST,enter进去可以找到JSESSIONID这个变量。

wechatbooknswttarenaticket's People

Contributors

yyw794 avatar

Stargazers

夜寒染雨 avatar  avatar

Watchers

James Cloos avatar  avatar

wechatbooknswttarenaticket's Issues

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.