qiaoborui / wzxynew Goto Github PK
View Code? Open in Web Editor NEW我在校园晚签到
我在校园晚签到
2024-03-17 22:23:19,288 - INFO - Welcome to Wozaixiaoyuan Night Sign-in Script!
2024-03-17 22:23:19,288 - INFO - Next scheduled run time: 2024-03-17 22:25:00
2024-03-17 22:25:00,100 - INFO - Running user 刘...
2024-03-17 22:25:00,100 - ERROR - No JWSESSION found in local cache, starting login...
2024-03-17 22:25:02,104 - ERROR - An error occurred while running user 刘: HTTPSConnectionPool(host='gw.wozaixiaoyuan.com', port=443): Max retries exceeded with url: /basicinfo/mobile/login/username?schoolId=61&username=13177887967&password=RFyeejDrz9QV0FspBzgoTg%3D%3D (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fe3fe058310>: Failed to resolve 'gw.wozaixiaoyuan.com' ([Errno -3] Try again)"))
2024-03-17 22:25:02,106 - ERROR - Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 198, in _new_conn
sock = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 793, in urlopen
response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1099, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 616, in connect
self.sock = sock = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in _new_conn
raise NameResolutionError(self.host, self, e) from e
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7fe3fe058310>: Failed to resolve 'gw.wozaixiaoyuan.com' ([Errno -3] Try again)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 847, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='gw.wozaixiaoyuan.com', port=443): Max retries exceeded with url: /basicinfo/mobile/login/username?schoolId=61&username=13177887967&password=RFyeejDrz9QV0FspBzgoTg%3D%3D (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fe3fe058310>: Failed to resolve 'gw.wozaixiaoyuan.com' ([Errno -3] Try again)"))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/app/./wzxy.py", line 217, in run_users
u = User(user_data.get('username'), user_data.get('password'), user_data.get('school_id'))
File "/usr/src/app/./wzxy.py", line 43, in init
self.test_cached_session()
File "/usr/src/app/./wzxy.py", line 132, in test_cached_session
if self.login():
File "/usr/src/app/./wzxy.py", line 60, in login
login_req = requests.post(login_url, params=params)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='gw.wozaixiaoyuan.com', port=443): Max retries exceeded with url: /basicinfo/mobile/login/username?schoolId=61&username=13177887967&password=RFyeejDrz9QV0FspBzgoTg%3D%3D (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fe3fe058310>: Failed to resolve 'gw.wozaixiaoyuan.com' ([Errno -3] Try again)"))
请问作者大大我是哪里出错了吗
如题
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.