Code Monkey home page Code Monkey logo

airport-checkin's Introduction

airport-checkin's People

Contributors

xiaocao666tzh 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  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

airport-checkin's Issues

同一个机场不同账号 只有一个今天突然成功

这个脚本之前用了快一年 两个月以前三个账号都突然开始出错,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.

运行action出错,Error: Process completed with exit code 1.

完整代码如下: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搭建的

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.