dengshuan / cmcc-edu Goto Github PK
View Code? Open in Web Editor NEWcmcc-edu wifi client
License: MIT License
cmcc-edu wifi client
License: MIT License
我发现浙江杭州的 CMCC-EDU 登录网页源代码似乎和你的并不一致,其 Login 时的源代码是
<form name="loginform" action="https://211.138.125.52:7090/zmcc/index.wlan" method="post">
并没有 login
关键字。总之我先按你所说的,在 Python 解释器把上面的 action 赋值给 url
, 再创建个相应的 source
变量,并 Post Login 成功。但是尝试 Logout 时,我发现在登录后的下线网页源代码里,所找到的 action
依然还是原来的 https://211.138.125.52:7090/zmcc/index.wlan
, 于是执行 request.post(url+'&'+source)
, 不出意外地没成功下线。
怎么办呢?谢谢,此外我直接执行你的脚本,也没成功,r.content
返回的仍然是登录网页的源代码。
畢竟我可能要 Fork.
正在登录...
Traceback (most recent call last):
File "cmcc_edu.py", line 46, in
'wlanacssid':wlanacssid
NameError: name 'wlanacssid' is not defined
您好!如果是出现登录要填入验证码该如何解决?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.