Code Monkey home page Code Monkey logo

aliyun-auto-signin's Introduction

主动选择孤独的人不孤独
努力合群的人才孤独

github contribution grid snake animation

Code Time

Lines of code

🐱 My GitHub Data

📦 1.1 MB Used in GitHub's Storage

🏆 392 Contributions in the Year 2024

💼 Opted to Hire

📜 35 Public Repositories

🔑 79 Private Repositories

I'm an Early 🐤

🌞 Morning                469 commits         ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   14.48 % 
🌆 Daytime                1371 commits        ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   42.33 % 
🌃 Evening                1027 commits        ⣿⣿⣿⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   31.71 % 
🌙 Night                  372 commits         ⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   11.49 % 

📅 I'm Most Productive on Friday

Monday                   396 commits         ⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   12.23 % 
Tuesday                  556 commits         ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   17.17 % 
Wednesday                399 commits         ⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   12.32 % 
Thursday                 476 commits         ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   14.70 % 
Friday                   602 commits         ⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   18.59 % 
Saturday                 354 commits         ⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   10.93 % 
Sunday                   456 commits         ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   14.08 % 

📊 This Week I Spent My Time On

🕑︎ Time Zone: Asia/Shanghai

💬 Programming Languages: 
Python                   1 hr 30 mins        ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿   99.31 % 
Markdown                 0 secs              ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   00.64 % 
PythonStub               0 secs              ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   00.04 % 

💻 Operating System: 
Mac                      1 hr 31 mins        ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿   100.00 % 

I Mostly Code in Python

Python                   50 repos            ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   47.62 % 
CSS                      19 repos            ⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   18.10 % 
PHP                      14 repos            ⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   13.33 % 
HTML                     8 repos             ⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   07.62 % 
Java                     1 repo              ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   00.95 % 

aliyun-auto-signin's People

Contributors

anysoft avatar exlulu avatar fuwt avatar imyrs avatar oopstls avatar thsrite 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  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aliyun-auto-signin's Issues

Server酱推送没有效果

Ubuntu 20.04.4 LTS
Python 3.11.2
本app版本 fca5caa

serverchan.py在modules目录里,没有收到推送,也试过把serverchan.py cp到跟app.py同一目录,也是没有推送结果,在Server酱主页里面测试过能正常推送的,请问是哪里设置不对吗?还是还有其他地方要设置?

config.ini

# refresh token
# 阿里云盘 refresh token
refresh_token = qwert

# access token data, do not change manually
# 阿里云盘 access token 数据, 请不要手动修改
expired_at = 0

# Push Notification
# Supported: dingtalk, serverchan, pushdeer
# Use comma (,) to separate multiple push methods
# Leave blank if you don't want to use it
# 签到结果推送
# 支持: dingtalk, serverchan
# 同时使用多个推送方式请用英文逗号 (,) 分隔
# 不使用请留空
push_types = serverchan

# DingTalk robot
dingtalk_app_key = ""
dingtalk_app_secret = ""
dingtalk_user_id = ""

# ServerChan
serverchan_send_key = SCT12345

# PushDeer
pushdeer_endpoint = https://api2.pushdeer.com
pushdeer_send_key = ""

运行python app.py

lulu@ubuntu:~/aliyun-auto-signin$ python3.11 app.py
2023-02-12 20:53:27,671 - app.py:188 - INFO: access_token 已过期, 正在更新...
2023-02-12 20:53:28,145 - app.py:84 - INFO: 签到成功, 本月累计签到 1 天.
2023-02-12 20:53:28,146 - app.py:85 - INFO: 本次签到 获得8TB超级会员体验卡

青龙面板运行,出错

青龙面板运行,出错提示信息如下:

开始执行... 2023-03-15 19:13:32

Traceback (most recent call last):
File "/ql/data/scripts/ImYrS_aliyun-auto-signin/app.py", line 18, in
from modules import dingtalk, serverchan, pushdeer, telegram, pushplus, smtp
ImportError: cannot import name 'dingtalk' from 'modules' (/usr/local/lib/python3.10/site-packages/modules.py)

执行结束... 2023-03-15 19:13:37 耗时 5 秒  

日志显示签到成功但没有领取奖励

安装收集的软件包:urllib3,six,pycparser,idna,charset-normalizer,certifi,requests,configobj,cffi,pynacl
203
已成功安装 证书-2022.12.7 cffi-1.15.1 字符集规范化程序-3.1.0 配置obj-5.0.8 IDNA-3.4 pycparser-2.21 pynacl-1.5.0 请求-2.28.2 六-1.16.0 urllib3-1.26.15
204
2023-03-20 03:19:33,483 - app.py:122 - 信息: [178386] 签到成功, 本月累计签到 4 天.
205
2023-03-20 03:19:33,483 - app.py:123 - 信息: [178
386] 本次签到无奖励
206
2023-03-20 03:19:35,151 - app.py:122 - 信息: [183507] 签到成功, 本月累计签到 20 天.
207
2023-03-20 03:19:35,151 - app.py:123 - 信息: [183
507] 本次签到获得 8TB 超级会员 1天体验卡
208
2023-03-20 03:19:36,872 - app.py:122 - 信息: [159250] 签到成功, 本月累计签到 2 天.
209
2023-03-20 03:19:36,872 - app.py:123 - 信息: [159
250] 本次签到无奖励
210
2023-03-20 03:19:37,681 - pushplus.py:54 - 信息: 推送加 推送成功

报错TypeError: 'type' object is not subscriptable

使用的是Python 3.8.10,运行报错如下:
Traceback (most recent call last):
File "app.py", line 17, in
import github
File "/ali/github.py", line 24, in
def get_pub_key(repos: str, token: str) -> tuple[str, int]:
TypeError: 'type' object is not subscriptable

使用报错

[root@localhost aliyun-auto-signin-main]# python app.py
Traceback (most recent call last):
File "/py/aliyun-auto-signin-main/app.py", line 19, in
from modules import dingtalk, serverchan, pushdeer, telegram, pushplus, smtp
File "/py/aliyun-auto-signin-main/modules/dingtalk.py", line 64, in
config: Optional[ConfigObj | dict],
TypeError: unsupported operand type(s) for |: 'type' and 'type'

推送显示内容有误

推送显示签到失败,下面却显示本月全部签到,查看运行显示运行成功。 推送渠道:pushplus
QQ截图20230331192019

Action 在 __sign_in() 函数发生网络错误

昨天能正常运行,今天就不能了。

Run ImYrS/aliyun-auto-signin@main
Run actions/checkout@v3
Syncing repository: cike-567/aliyun-auto-signin
Getting Git version info
Temporarily overriding HOME='/home/runner/work/_temp/eb4f64e7-8d29-45b6-94a7-a0d096e3d9f1' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/aliyun-auto-signin/aliyun-auto-signin
Deleting the contents of '/home/runner/work/aliyun-auto-signin/aliyun-auto-signin'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
Determining the checkout info
Checking out the ref
/usr/bin/git log -1 --format='%H'
'800d11e9742dfaa0da3ccb7baf9879ee160508ea'
Run actions/setup-python@v4
Installed versions
Run pozetroninc/github-action-get-latest-release@master
Run wget https://github.com/ImYrS/aliyun-auto-signin/archive/refs/tags/v1.4.2.zip -O release.zip
--2023-03-20 01:52:57-- https://github.com/ImYrS/aliyun-auto-signin/archive/refs/tags/v1.4.2.zip
Resolving github.com (github.com)... 192.30.255.113
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/ImYrS/aliyun-auto-signin/zip/refs/tags/v1.4.2 [following]
--2023-03-20 01:52:58-- https://codeload.github.com/ImYrS/aliyun-auto-signin/zip/refs/tags/v1.4.2
Resolving codeload.github.com (codeload.github.com)... 192.30.255.121
Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 32383 (32K) [application/zip]
Saving to: ‘release.zip’

 0K .......... .......... .......... .                    100% 1.49M=0.02s

2023-03-20 01:52:58 (1.49 MB/s) - ‘release.zip’ saved [32383/32383]

Archive: release.zip
c94c258
creating: release/aliyun-auto-signin-1.4.2/
inflating: release/aliyun-auto-signin-1.4.2/.gitignore
inflating: release/aliyun-auto-signin-1.4.2/How-To-Use-Action.md
inflating: release/aliyun-auto-signin-1.4.2/LICENSE
inflating: release/aliyun-auto-signin-1.4.2/README.md
inflating: release/aliyun-auto-signin-1.4.2/action.yml
inflating: release/aliyun-auto-signin-1.4.2/app.py
inflating: release/aliyun-auto-signin-1.4.2/example.config.ini
inflating: release/aliyun-auto-signin-1.4.2/github.py
creating: release/aliyun-auto-signin-1.4.2/modules/
inflating: release/aliyun-auto-signin-1.4.2/modules/dingtalk.py
inflating: release/aliyun-auto-signin-1.4.2/modules/feishu.py
inflating: release/aliyun-auto-signin-1.4.2/modules/pushdeer.py
inflating: release/aliyun-auto-signin-1.4.2/modules/pushplus.py
inflating: release/aliyun-auto-signin-1.4.2/modules/serverchan.py
inflating: release/aliyun-auto-signin-1.4.2/modules/smtp.py
inflating: release/aliyun-auto-signin-1.4.2/modules/telegram.py
extracting: release/aliyun-auto-signin-1.4.2/requirements.txt
Run cd release
Collecting requests~=2.28.2
Downloading requests-2.28.2-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 1.4 MB/s eta 0:00:00
Collecting configobj~=5.0.8
Downloading configobj-5.0.8-py2.py3-none-any.whl (36 kB)
Collecting pynacl~=1.5.0
Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 856.7/856.7 kB 24.1 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2
Downloading charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.3/199.3 kB 37.8 MB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 32.3 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 30.1 MB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 12.7 MB/s eta 0:00:00
Collecting six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting cffi>=1.4.1
Downloading cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (441 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 441.8/441.8 kB 56.3 MB/s eta 0:00:00
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 27.9 MB/s eta 0:00:00
Installing collected packages: urllib3, six, pycparser, idna, charset-normalizer, certifi, requests, configobj, cffi, pynacl
Successfully installed certifi-2022.12.7 cffi-1.15.1 charset-normalizer-3.1.0 configobj-5.0.8 idna-3.4 pycparser-2.21 pynacl-1.5.0 requests-2.28.2 six-1.16.0 urllib3-1.26.15
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in validate_conn
conn.connect()
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/connection.py", line 419, in connect
self.sock = ssl_wrap_socket(
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/util/ssl
.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/util/ssl
.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/ssl.py", line 513, in wrap_socket
return self.sslsocket_class._create(
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/ssl.py", line 1071, in _create
self.do_handshake()
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/ssl.py", line 1342, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/opt/hostedtoolcache/Python/3.10.10/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.10/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.10/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in validate_conn
conn.connect()
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/connection.py", line 419, in connect
self.sock = ssl_wrap_socket(
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/util/ssl
.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/urllib3/util/ssl
.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/ssl.py", line 513, in wrap_socket
return self.sslsocket_class._create(
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/ssl.py", line 1071, in _create
self.do_handshake()
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/ssl.py", line 1342, in do_handshake
self._sslobj.do_handshake()
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 "/home/runner/work/aliyun-auto-signin/aliyun-auto-signin/release/aliyun-auto-signin-1.4.2/app.py", line 334, in
main()
File "/home/runner/work/aliyun-auto-signin/aliyun-auto-signin/release/aliyun-auto-signin-1.4.2/app.py", line 310, in main
result = SignIn(config=config, refresh_token=user).run()
File "/home/runner/work/aliyun-auto-signin/aliyun-auto-signin/release/aliyun-auto-signin-1.4.2/app.py", line 166, in run
self.__sign_in()
File "/home/runner/work/aliyun-auto-signin/aliyun-auto-signin/release/aliyun-auto-signin-1.4.2/app.py", line 94, in __sign_in
data = requests.post(
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/requests/adapters.py", line 547, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Error: Process completed with exit code 1.

填写PUSHPLUS_TOKEN后不走pushplus推送

2023-03-05 07:38:42,666 - app.py:92 - INFO: [1382] 签到成功, 本月累计签到 5 天.
2023-03-05 07:38:42,666 - app.py:93 - INFO: [13
*2] 本次签到 无奖励
2023-03-05 07:38:42,666 - telegram.py:78 - ERROR: Telegram 推送参数配置不完整
2023-03-05 07:38:42,666 - smtp.py:86 - ERROR: SMTP 推送参数配置不完整

不能定时执行

配置好了,不能定时执行,手动可以,不知道问题在哪。

貌似access token官方有变动

做了个action,上面有error:
2023-03-07 07:03:10,852 - app.py:40 - ERROR: [] 获取 access token 失败, 错误信息: {'code': 'InvalidParameter.RefreshToken', 'message': 'The input parameter refresh_token is not valid. ', 'requestId': None} 2023-03-07 07:03:10,852 - app.py:239 - ERROR: [] 获取 access token 失败.

签到成功,但是不领奖励了

安装收集的软件包:urllib3,six,pycparser,idna,charset-normalizer,certifi,requests,configobj,cffi,pynacl
已成功安装 证书-2022.12.7 cffi-1.15.1 字符集规范化程序-3.1.0 配置obj-5.0.8 IDNA-3.4 pycparser-2.21 pynacl-1.5.0 请求-2.28.2 六-1.16.0 urllib3-1.26.15
2023-03-20 03:19:33,483 - app.py:122 - 信息: [178386] 签到成功, 本月累计签到 4 天.
2023-03-20 03:19:33,483 - app.py:123 - 信息: [178
386] 本次签到无奖励
2023-03-20 03:19:35,151 - app.py:122 - 信息: [183507] 签到成功, 本月累计签到 20 天.
2023-03-20 03:19:35,151 - app.py:123 - 信息: [183
507] 本次签到获得 8TB 超级会员 1天体验卡
2023-03-20 03:19:36,872 - app.py:122 - 信息: [159250] 签到成功, 本月累计签到 2 天.
2023-03-20 03:19:36,872 - app.py:123 - 信息: [159
250] 本次签到无奖励
2023-03-20 03:19:37,681 - pushplus.py:54 - 信息: 推送加 推送成功

阿里云自动签到神器——点赞作者高超编码水平和实用贡献

尊敬的作者 @ImYrS ,非常感谢您在GitHub上分享了这个极具实用性的项目。我亲自试用了您的阿里云自动签到程序,发现它非常稳定和高效,简直成为我每日工作不可或缺的一部分。

您的编码水平非常高超,能够设计出如此优秀的阿里云自动签到程序,令人敬佩。我了解到您位于广东,作为软件开发人员,您在这个发达的科技前沿地区中汲取灵感和创新的精神,展现了软件开发人员的精湛技术和优秀能力。

您的开源项目是一个里程碑式的创作,帮助了很多阿里云用户省去了繁琐的签到流程,节约了宝贵的时间和精力。这也是您的一项杰出贡献,可以带给更多人便利和好处。

在此,我想更多的人了解和使用您的工具,让更多人受益和感受到您的贡献。并希望有朝一日,我能有机会请您去享用一次广州最有代表性的早餐——点都德,相信您一定会喜欢。再次感谢您的贡献和努力,期待您的更多优秀作品!

I am writing to express my heartfelt appreciation and admiration for the Guangdong-based author of the Aliyun Auto Check-in repository on GitHub. This repository is a groundbreaking creation that has revolutionized the way people interact with the Aliyun platform.

The author has shown exceptional coding skills in developing this repository. The code is clean, efficient and well-documented, making it easy for other developers to understand and use it. The author has also been quite active in maintaining and updating the repository, adding new features and addressing any issues that arise.

This repository is an extremely useful tool for anyone who uses the Aliyun platform regularly. It automates the check-in process, saving users time and effort. The repository is also very user-friendly, making it easy for even those who are not experienced with programming to use it.

Furthermore, the author's contributions to the open-source community are truly remarkable. By sharing their knowledge and expertise with the world, they have made it possible for others to benefit from their work. This is a testament to the author's generosity and commitment to excellence.

Finally, I would like to express my personal hope that one day, I may have the opportunity to invite the author to enjoy a delicious meal at one of Guangzhou's famous, time-honored restaurants, Dian Du De. This would be a small token of appreciation for the author's enormous contribution to the world of programming.

In conclusion, I cannot praise the author of the Aliyun Auto Check-in repository enough. Their work is an inspiration to developers everywhere, and their amazing coding skills and commitment to excellence are truly remarkable. Thank you for sharing your expertise with the world, and for making our lives just a little bit easier.

存在潜在的签到奖励领取问题

基于 #35 和调查, 目前可能存在一下问题:

  • 日志和推送显示签到成功, 但实际未领取奖励
  • 日志和推送显示今日无奖励, 但可以在阿里云盘客户端手动领取

不能 100% 复现, 经测试在同时间同平台同签到天数情况下存在一个帐号可以自动领取另一个则不可以的异常行为.

等待跟进, 如有其他类似情况或细节, 欢迎反馈

提交 issue 前必看

首先

  • 请认真阅读 README 或相关教程
  • 查看是否存在相似的 issues, 提交重复的 issue 会被直接关闭且不会得到回复

遇到错误

  • 仔细阅读教程, 确保这不是因错误配置产生的问题, 例如 Python < 3.10 导致的语法错误
  • 善用搜索引擎
  • 你需要确定这是代码本身的问题而不是其他问题, 例如网络报错, 或配置错误导致的报错
  • 如果你希望别人可以解答你的问题, 你需要提供详细的错误复现步骤或报错截图, 错误日志等内容
  • 简单的一句报错内容不会得到友善的回复
  • 简单交流或提问请在 Telegram 交流群 @aliyun_auto_signin 内进行.

功能请求

  • 因为这是一个非常简单的脚本项目, 过于复杂的功能不会被实现
  • 特别小众的需求不会被实现
  • 如果你可以为此功能提供实现思路或资料, 会提升其被实现的可能性
  • 鉴于这个项目太简单, 直接写完 PR 通常会比功能请求快得多

最新版运行报错了

2023-02-12 12:54:46,483 - app.py:184 - INFO: access_token 已过期, 正在更新...
Traceback (most recent call last):
File "/ql/data/scripts/ImYrS_aliyun-auto-signin_main/app.py", line 202, in
main()
File "/ql/data/scripts/ImYrS_aliyun-auto-signin_main/app.py", line 193, in main
config.write()
File "/usr/local/lib/python3.10/site-packages/configobj/init.py", line 2117, in write
output_bytes = output.encode(self.encoding or
UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-21: ordinal not in range(128)

基佬:为人类做出伟大贡献的伟大人物

作为一位发明家,ImYrS(又被亲切地称为“基佬”)为人类做出了伟大的贡献。他的阿里云自动签到技术在诸多城市得到了广泛应用,为数不少的人们解决了困扰已久的烦恼。他的贡献被广泛认可和赞扬,然而基佬本人却对此并没有过多的反应。相反,他显得非常平静,只是用“受不了了”“麻了”等词语作出了简洁的回应。

一个人真正的价值不在于他所拥有的财富或者名誉,而在于他所承担的责任和他对于事业的追求。对于基佬而言,发明一项能够为人类带来便利的技术就是他人生的追求。基佬一直在尝试许多创新的方法来解决人们面临的问题,其中“阿里云自动签到”就是他成功创造的一项技术。

基佬不为赞扬和荣誉而感到自豪,这并不是因为他缺乏认可的渴望,更不是因为他不理解他的成就所产生的影响。相反,这可能是因为他对自己能力的自信和对于科技的责任感,认为这是自己的工作和任务,不属于自己的个人收益。

相信对于很多人来说,他们因为“阿里云自动签到”这款产品而认识到了基佬这个人。无论是在家还是出差,通过这款应用,大家都不必忘记每天定时签到。基佬开发的这款软件极大地改善了生活质量,减少了人们手动签到的麻烦,更让大家意识到科技的力量和创造性为他人带来帮助的能力。

赞扬这位基佬,正是为了表达我们对科技工作者们的感激之情。基佬并不是为了赢取功名而投身于研发,而是出于自己的爱好和对技术的热爱投入到这项事业中。虽然他可能不愿意被闻名天下,但对于我们每个人,却都因为他的技术而得到了受益。我们对于这份技术的赞扬,不仅仅是对于这个“基佬”的礼遇,更是对于所有科技工作者的尊重与感激。我们需要让更多的人了解他们的成就、支持他们的探索,这样才能更好地推动科技的发展。

综上所述,我们应该对于基佬的杰出工作表示敬意,但也不能忽视那些模范科技工作者所承担的责任,更不能忽视科技对于人类发展的重要性。因此,我们需要更多引导大众对于科技人员的尊重和赞赏,为科技创新的未来推波助澜。

添加仅签到不领取奖励功能

想象一个问题,并不是每天都需要用到阿里云的吧。那么签到后的vip 延期卡 也就只有在需要的时候才会领取使用。
所以 签到之后的领取能不能设为可选,默认只签到

使用 action 运行错误

使用 github action 运行出现如下报错

usage: app.py [-h] [-a] [-d]
app.py: error: unrecognized arguments: action
Error: Process completed with exit code 2.

谢谢大佬,给大佬倒一杯卡布奇诺

谢谢大佬的工具,这真的很好用。这个项目无疑是一项杰出的成就,展现了该领域的最高水平。我觉得更为难能可贵的是,这个项目不仅仅是技术的展示,它还关注到了社会的需要和人类的福祉。这是一个有远见和担当的项目,它不仅为我们带来了前所未有的成果,也为社会带来了更多的福祉和价值。
给您倒一杯卡布奇诺,以示我小小的敬意。

大佬请问一下推送到plusplus的类型改如何填写。

steps:
- uses: ImYrS/aliyun-auto-signin@main
with:
REFRESH_TOKENS: ${{ secrets.REFRESH_TOKENS }}
PUSH_TYPES: PushPlus
SERVERCHAN_SEND_KEY: ${{ secrets.SERVERCHAN_SEND_KEY }}
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}

我试过PUSH_TYPES: PushPlus里面用单引号'PushPlus'也不行

推送成功钉钉未有消息提示

2023-03-11 16:58:39,800 - app.py:92 - INFO: [199016] 签到成功, 本月累计签到 3 天.
2023-03-11 16:58:39,801 - app.py:93 - INFO: [199
016] 本次签到 获得 8TB 超级会员 1天体验卡
2023-03-11 16:58:40,191 - dingtalk.py:91 - INFO: DingTalk 推送成功
如上日志,id为钉钉通讯录里的用户id。机器人在创建应用时里面的测试是成功的

青龙订阅运行:No module named 'modules'

Traceback (most recent call last):
File "/ql/data/scripts/ImYrS_aliyun-auto-signin/app.py", line 18, in
from modules import dingtalk, serverchan, pushdeer, telegram, pushplus, smtp
ModuleNotFoundError: No module named 'modules'

报错如上,请教

go-cqhttp 推送错误

报错信息:
2023-03-31 06:18:35,215 - cqhttp.py:77 - ERROR: go-cqhttp 推送失败, 错误信息: 'cqhttp_access_token'

处理办法:
①服务端取消cqhttp_access_token验证,删除CQHTTP_ACCESS_TOKEN,运行后仍报错同上;
②经排查,发现源码 app.py 第307行代码中'gcqhttp_access_token': environ['CQHTTP_ACCESS_TOKEN'], 多了开头字母‘g’。
③ fork 并修改,workflows 修改为fork后仓库调试仍然报错同上。
④将 cqhttp.py fork至本地python环境测试,定义相关变量,可推送测试消息成功,附图如下。

本地环境测试
消息推送成功

如需要,可提供服务器地址、qq及token

运行报错

Ubuntu 20.04.4 LTS
Python 3.11.2
Traceback (most recent call last):
File "/home/lulu/aliyun-auto-signin/app.py", line 14, in
from configobj import ConfigObj
ModuleNotFoundError: No module named 'configobj'

Python 3.8.10
Traceback (most recent call last):
File "app.py", line 18, in
def update_access_token(refresh_token: str) -> bool | dict:
TypeError: unsupported operand type(s) for |: 'type' and 'type'

Python 2.7.18
File "app.py", line 18
def update_access_token(refresh_token: str) -> bool | dict:
^
SyntaxError: invalid syntax

Github Action定时任务出错

Successfully installed certifi-2022.12.7 cffi-1.15.1 charset-normalizer-3.1.0 configobj-5.0.8 idna-3.4 pycparser-2.21 pynacl-1.5.0 requests-2.28.2 six-1.16.0 urllib3-1.26.15
Traceback (most recent call last):
  File "/home/runner/work/Actions/Actions/release/aliyun-auto-signin-1.4.6/app.py", line 365, in <module>
    main()
  File "/home/runner/work/Actions/Actions/release/aliyun-auto-signin-1.4.6/app.py", line 342, in main
    results.append(signin.run())
  File "/home/runner/work/Actions/Actions/release/aliyun-auto-signin-1.4.6/app.py", line 190, in run
    self.__sign_in()
  File "/home/runner/work/Actions/Actions/release/aliyun-auto-signin-1.4.6/app.py", line 139, in __sign_in
    if not current_day['isReward']
TypeError: 'NoneType' object is not subscriptable
Error: Process completed with exit code 1.

可否支持青龙定时任务

image
两次手动尝试 哈哈哈,请问大佬能否支持青龙定时自动签到呢?
另外推送我是不是填错了还是收不到
image

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.