thriving123 / fucktodaystudy Goto Github PK
View Code? Open in Web Editor NEW今日校园自动签到
今日校园自动签到
“今日校园版本过低,请升级至最新版本”失败提示,怎么解决?
谢谢大佬!!!
比如我从/root目录运行/jrxy/index.py 那么会获取/root目录下的config.yml而不是与index.py同目录的config.yml
{"appVersion":"9.0.12","
systemName":"android"
,"bodyString":"2Qu***********************************************************************************************************************************************+tEUaXO32J7etba5HkhUo9IJJ9CExBdVUDySLQHx",
"sign":"9********a4a2**********20b42f099"
求更
只修改config.yml
与system.yml
文件后(确信无误)
直接python index.py
后
错误栈详情:
Traceback (most recent call last):
File "fuckTodayStudy\index.py", line 29, in main
msg = working(user)
File "fuckTodayStudy\index.py", line 47, in working
today.login()
File "fuckTodayStudy\todayLoginService.py", line 93, in login
self.checkLogin()
File "fuckTodayStudy\todayLoginService.py", line 87, in checkLogin
self.session.cookies = self.loginEntity.login()
File "fuckTodayStudy\login\casLogin.py", line 40, in login
soup = BeautifulSoup(str(form[1]), 'lxml')
IndexError: list index out of range
14:55:46 list index out of range
14:55:46 正在发送邮件通知
Traceback (most recent call last):
...........
经过测试:
应该如何解决呢?
错误代码418错误,当前IP地址已被今日校园封禁怎么解决
file: ./login/casLogin.py
line in: 52~64
52: if self.type == 0:
salt = soup.select("#pwdDefaultEncryptSalt")
else: # self.type = 1
salt = soup.select("#pwdEncryptSalt")
if len(salt) != 0:
salt = salt[0].get('value')
else:
pattern = '\"(\w{16})\"'
salt = re.findall(pattern, html)
if (len(salt) == 1):
salt = salt[0]
else:
64: salt = False
if (len(salt) == 1):
salt = salt[0]
When setting the value of salt, you can't ensure it if this happened like below.
[2021-09-25
01:22:34]
第1个配置出错了
表单未找到你设置的值:36-37.2°c
,你上次系统选的值为:36~37.2℃
`
如果重复运行的话能不能返回“已签到”的形式呢,虽然这并非必要
我校的查寝仅需直接签到即可,无需提交任何表单,该如何处理呢,直接把config内的表单内容全部删除吗
如何在某触发时间点在某个账号下执行2次签到任务(某时刻任务列表里有多项的情况
)?
Oct 3 11:59:02 v032f_00385274 CROND[41177]: (root) CMD (python3 /usr/games/fuck/wan/index.py)
Oct 3 11:59:06 v032f_00385274 CROND[41176]: (root) CMDOUT (Traceback (most recent call last):)
Oct 3 11:59:06 v032f_00385274 CROND[41176]: (root) CMDOUT ( File "/usr/games/fuck/wan/index.py", line 101, in )
Oct 3 11:59:06 v032f_00385274 CROND[41176]: (root) CMDOUT ( main())
Oct 3 11:59:06 v032f_00385274 CROND[41176]: (root) CMDOUT ( File "/usr/games/fuck/wan/index.py", line 21, in main)
Oct 3 11:59:06 v032f_00385274 CROND[41176]: (root) CMDOUT ( config = getYmlConfig())
Oct 3 11:59:06 v032f_00385274 CROND[41176]: (root) CMDOUT ( File "/usr/games/fuck/wan/index.py", line 13, in getYmlConfig)
Oct 3 11:59:06 v032f_00385274 CROND[41176]: (root) CMDOUT ( file = open(yaml_file, 'r', encoding="utf-8"))
如上,请问能加上贵州商学院的宿舍考勤吗
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.