next_oshwhub_autosignin's People
next_oshwhub_autosignin's Issues
用不了
jlc最近更新了登录部分, 加了阿里云的滑块验证, 所以暂时脚本用不了了, working on it...
https://passport.szlcsc.com/ 无法访问吗
python oshw.py
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/root/anaconda3/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/root/anaconda3/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/root/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/root/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 978, in _validate_conn
conn.connect()
File "/root/anaconda3/lib/python3.8/site-packages/urllib3/connection.py", line 309, in connect
conn = self._new_conn()
File "/root/anaconda3/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f4ea1ef6220>: Failed to establish a new connection: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/qgb/.local/lib/python3.8/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/root/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen
retries = retries.increment(
File "/root/anaconda3/lib/python3.8/site-packages/urllib3/util/retry.py", line 446, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='passport.szlcsc.com', port=443): Max retries exceeded with url: /login (Caused by NewConnectionError('<urllib3.connection.
HTTPSConnection object at 0x7f4ea1ef6220>: Failed to establish a new connection: [Errno 110] Connection timed out'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "oshw.py", line 13, in <module>
my_user.login("oshwhub")
File "/home/qgb/github/next_oshwhub_autosignin/login.py", line 20, in decorate
return func(*args, **kw)
File "/home/qgb/github/next_oshwhub_autosignin/login.py", line 63, in login
r = self.session.get(passport_url)
File "/home/qgb/.local/lib/python3.8/site-packages/requests/sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
File "/home/qgb/.local/lib/python3.8/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/home/qgb/.local/lib/python3.8/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/home/qgb/.local/lib/python3.8/site-packages/requests/adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='passport.szlcsc.com', port=443): Max retries exceeded with url: /login (Caused by NewConnectionError('<urllib3.connecti
on.HTTPSConnection object at 0x7f4ea1ef6220>: Failed to establish a new connection: [Errno 110] Connection timed out'))
In [16]:
In [16]: !curl -vvv https://passport.szlcsc.com/
* Trying 203.107.45.167...
* TCP_NODELAY set
*
商城登录相关问题
用selenium(或者类似做了防指纹检测的工具)模拟登录szlcsc,但每次新登录一个账号就会自动踢出上一个的cookie,不知怎么解决
包 notify 相关问题
next_oshwhub_autosignin/oshw.py
Line 3 in a90dc2d
如上所示,oshw.py中引入了notify包,这似乎不是一个常用的python库
根据我的理解,这似乎是所谓青龙面板
所内置的一个通知模块,不能在正常的python环境中运行
请问您有意将对此脚本进行更改以适配通常的python环境吗,十分感谢
等个更新
接口好像挂了
去除对Notify库的依赖
新版本Python无法安装Notify库,报错,且在程序内仅使用一次。个人认为可以去除,或是采用log形式输出结果
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.