Giter Site home page Giter Site logo

hfut_autosubmit's People

Contributors

ghoker143 avatar qdddz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hfut_autosubmit's Issues

建议上阿里云自动化打卡

感谢大佬的研究!
建议从GitHub上改为阿里云或腾讯云的云函数上定时运行。国内的云服务可以精确到秒级打卡而且特别稳定一次就可以。
image

图片更改问题

你们没有发现今日校园里需要的图片改为了核酸检测报告而不是行程卡截图吗?

打卡成功,但是进去查看并未提交

各位同学,疫情信息收集模块有更新加密措施,可能会出现一些问题,请大家仔细查看是否完成,若出现问题建议大家清理今日校园缓存再试一试。请同学们抓紧时间打卡

打卡失败

Screenshot_2022-04-08-14-44-13-827_mark via
这种打卡失败了还会继续打卡吗
貌似是学校那边的问题,今日校园打卡进不去了
Screenshot_2022-04-08-14-47-22-636_com wisedu cpdaily
Screenshot_2022-04-08-14-54-50-406_com wisedu cpdaily

用图床解决行程卡和安康码

secret里面安康码和***就填图床里图片的链接,图床我们自己来,至于安康码和***里面的日期,导员大概率不会仔细看。

连接超时

是使用方式有什么问题,还是说脚本现在不太能用了

能否增加失败重试呢

好像是因为学校网络的原因,这脚本时灵时不灵的。请问可以说是增加重试逻辑吗,就发生网络连接超时这一类错误的时候过半小时重试?

今天突然就登陆不了了

root@xyxywan:~/py/api# python3 ./HFUT_clockin_new.py
submit
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 383, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.6/http/client.py", line 1373, in getresponse
response.begin()
File "/usr/lib/python3.6/http/client.py", line 311, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.6/http/client.py", line 272, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 357, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/lib/python3/dist-packages/six.py", line 692, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 383, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.6/http/client.py", line 1373, in getresponse
response.begin()
File "/usr/lib/python3.6/http/client.py", line 311, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.6/http/client.py", line 272, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./HFUT_clockin_new.py", line 242, in
submit("学号XXXXXX","密码XXXXX","地址XXXXXX")
File "./HFUT_clockin_new.py", line 219, in submit
key = jump_auth_with_key()
File "./HFUT_clockin_new.py", line 66, in jump_auth_with_key
requests.get(url=jump_auth_url, headers=headers)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 521, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 490, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

打卡失败

学校好像又更新了,现在必须要获取定位?

address

address填什么内容?

今天脚本失效了

报错信息:
requests.exceptions.SSLError: HTTPSConnectionPool(host='cas.hfut.edu.cn', port=443): Max retries exceeded with url: /cas/login (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))

今日脚本无法使用

Traceback (most recent call last):
File "E:/Zoet/HFUT_AutoSubmit-main/hfuter.py", line 393, in
main()
File "E:/Zoet/HFUT_AutoSubmit-main/hfuter.py", line 375, in main
ret = stu.daily_checkin(env_dist['address'], env_dist['city'])
File "E:/Zoet/HFUT_AutoSubmit-main/hfuter.py", line 349, in daily_checkin
"studentKey": studentKey['data']['studentKey']
KeyError: 'data'

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.