limour-dev / daily_fudan_core Goto Github PK
View Code? Open in Web Editor NEWdaily_fudan的代码,无需fork;请fork https://github.com/Limour-dev/daily_fudan_actions 来自动执行该repo下的最新代码。有问题请提issue
daily_fudan的代码,无需fork;请fork https://github.com/Limour-dev/daily_fudan_actions 来自动执行该repo下的最新代码。有问题请提issue
按照readme格式,设置好了secret1(用户 + 密码 + token + 图片识别用户 + 图片识别密码)和secret2(GH_PAT)。
出现了两种bug:
bug1:
“
File "/home/runner/work/daily_fudan_actions/daily_fudan_actions/./dailyFudan.py", line 166, in check
logging.info("上一次提交日期为: %s " % last_info["d"]["info"]["date"])
TypeError: 'bool' object is not subscriptable
”
打印日志的时候,last_info是bool类型,打印日志失败,推测可能是从网站(https://zlapp.fudan.edu.cn/ncov/wap/fudan/get-info)拉取上次打卡信息失败。我在浏览器直接访问该网站时,输入复旦学生账号密码就能拉取,所以怀疑是否是自己输入的账号密码输错了,但是仔细检查过,发现没输错,所以就不知道该如何解决了。
并且在老版本平安复旦(已停止维护版本)上也遇到bug1的错误,老版本平安复旦打卡只有bug1的错误。
bug2:
“
File "/home/runner/work/daily_fudan_actions/daily_fudan_actions/FDU_WebVPN.py", line 189, in logout
expire += self.get(self.logout_url).headers.get('Set-Cookie')
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
”
这个bug是webVpn里提到的bug吗?
No such remote: 'upstream'
非常感谢您的脚本,想请问如何设置每天自动打卡的时间?
运行显示成功,但是去查看系统并没有填报。我试了一下故意写错密码发现居然也能运行成功,也没有任何错误提示。我的FUDAN的value里面已经包括了token和快识别的账户密码,确认过都没有错。不知道为什么运行成功但是就是没有任何反应?需要Fork那个daily_fudan_core吗
复旦的统一身份认证服务出问题了,得等服务恢复才行
如果密码出现 $ 等字符会出现错误
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.