qdddz / hfut_autosubmit Goto Github PK
View Code? Open in Web Editor NEW合肥工业大学今日校园疫情信息收集自动打卡签到Action
License: Apache License 2.0
合肥工业大学今日校园疫情信息收集自动打卡签到Action
License: Apache License 2.0
你们没有发现今日校园里需要的图片改为了核酸检测报告而不是行程卡截图吗?
运行最新上传的代码后,log显示结果为已打卡,实际上未打卡成功,请问这个问题可以解决么?
可不可以加入根据填报地点修改健康码,行程卡城市名的功能
各位同学,疫情信息收集模块有更新加密措施,可能会出现一些问题,请大家仔细查看是否完成,若出现问题建议大家清理今日校园缓存再试一试。请同学们抓紧时间打卡
secret里面安康码和***就填图床里图片的链接,图床我们自己来,至于安康码和***里面的日期,导员大概率不会仔细看。
如题,现在的代码是当日打卡失败但是脚本运行成功后,后续运行脚本会提示今日已打卡。能否加个检测打卡失败后重新打卡,直到成功为止或者超出规定时间
是使用方式有什么问题,还是说脚本现在不太能用了
问题描述:Python application: All jobs have failed
这个问题怎么解决呢,我就把那个sckey改成了新版了,把旧版的注释掉了
就把这里注释了下
Originally posted by @forchannot in #11 (comment)
这个https://github.com/HowardZorn/hfut_auto_check-in
全部使用网络验证实现。
当然你这个也是很方便使用的,是完成这种自动化任务的新思路,反正都是本菜鸡赶不上的高度。。
好像是因为学校网络的原因,这脚本时灵时不灵的。请问可以说是增加重试逻辑吗,就发生网络连接超时这一类错误的时候过半小时重试?
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'))
能做一个p的吗
清晰度确实低了点
学校好像又更新了,现在必须要获取定位?
如题 开发者帮忙看看是怎么回事
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'
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.