Giter Site home page Giter Site logo

daily_fudan_core's Issues

设定好secrets后,仍出现了拉取信息的bug和webVpn的bug

按照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吗?

截屏2022-04-24 下午1 24 09

截屏2022-04-24 下午1 24 38

截屏2022-04-24 下午1 24 48

运行时间

非常感谢您的脚本,想请问如何设置每天自动打卡的时间?

运行成功但是没有任何效果

运行显示成功,但是去查看系统并没有填报。我试了一下故意写错密码发现居然也能运行成功,也没有任何错误提示。我的FUDAN的value里面已经包括了token和快识别的账户密码,确认过都没有错。不知道为什么运行成功但是就是没有任何反应?需要Fork那个daily_fudan_core吗

密码错误

如果密码出现 $ 等字符会出现错误

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.