I am xcao, a student from China. Here is my blog 草の博客
https://www.377.run https://www.5866688.xyz are also my websites. And I think that I am new here and I am not so good at coding.
机场自动签到
License: MIT License
https://www.377.run https://www.5866688.xyz are also my websites. And I think that I am new here and I am not so good at coding.
这个脚本之前用了快一年 两个月以前三个账号都突然开始出错,Error: Process completed with exit code 1
今天突然发现其中一个成功了,但是其他两个手动运行报错如下【需要的话我可以提供机场地址】
Run python3 ./main.py
shell: /usr/bin/bash -e {0}
env:
RUN_ENV: prod
pythonLocation: /opt/hostedtoolcache/Python/3.10.7/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.7/x64/lib
SCKEY:
EMAIL: ***
PASSWORD: ***
BASE_URL: ***
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 462, in _make_request
httplib_response = conn.getresponse()
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 799, in urlopen
retries = retries.increment(
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 462, in _make_request
httplib_response = conn.getresponse()
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/Airport-Checkin/Airport-Checkin/./main.py", line 40, in
result = checkin()
File "/home/runner/work/Airport-Checkin/Airport-Checkin/./main.py", line 16, in checkin
session.get(base_url, verify=False)
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Error: Process completed with exit code 1.
这个好像只能登录,但是我的机场需要登陆后点击签到按钮才能签到成功。
怎么添加多个机场呢
另外支持的鸡场基于SS-Panel基于V2Board这两个没有区别么
完整代码如下:Run python3 ./main.py
Traceback (most recent call last):
File "./main.py", line 36, in
sendurl = 'https://sctapi.ftqq.com/' + SCKEY + '.send?title=机场签到&desp=' + checkin()
File "./main.py", line 30, in checkin
response = json.loads(response.text)
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Error: Process completed with exit code 1.
初步怀疑:是不是okgg.top这个网站不支持此签到,但是我看它确实是以SSP搭建的
为了不占用GitHub资源,希望增加青龙面板签到教程,谢。
不太会操作,官网的图也没恢复:(
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.