ytai-chn / zodgame_checkin Goto Github PK
View Code? Open in Web Editor NEWZodgame automatic check-in using github action. Please sync with this repo for latest version.
License: MIT License
Zodgame automatic check-in using github action. Please sync with this repo for latest version.
License: MIT License
rt
这样
Run python3 ./zodgame/zodgame.py "***"
Traceback (most recent call last):
File "D:\a\zodgame_checkin\zodgame_checkin\zodgame\zodgame.py", line 188, in
zodgame(cookie_string)
File "D:\a\zodgame_checkin\zodgame_checkin\zodgame\zodgame.py", line 148, in zodgame
driver = uc.Chrome(options = options)
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\undetected_chromedriver_init_.py", line 466, in init
super(Chrome, self).init(
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in init
super().init(
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 56, in init
super().init(
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 206, in init
self.start_session(capabilities)
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\undetected_chromedriver_init_.py", line 724, in start_session
super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 290, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 345, in execute
self.error_handler.check_response(response)
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:60412
from session not created: This version of ChromeDriver only supports Chrome version 116
Current browser version is 115.0.5790.171
Stacktrace:
GetHandleVerifier [0x002D37C3+48947]
(No symbol) [0x00268551]
(No symbol) [0x0016C92D]
(No symbol) [0x0018F180]
(No symbol) [0x001895E1]
(No symbol) [0x00189447]
(No symbol) [0x001BB840]
(No symbol) [0x001BB3CC]
(No symbol) [0x001B4E86]
(No symbol) [0x001916C7]
(No symbol) [0x0019284D]
GetHandleVerifier [0x0051FDF9+2458985]
GetHandleVerifier [0x0056744F+2751423]
GetHandleVerifier [0x00561361+2726609]
GetHandleVerifier [0x00350680+560624]
(No symbol) [0x0027238C]
(No symbol) [0x0026E268]
(No symbol) [0x0026E392]
(No symbol) [0x002610B7]
BaseThreadInitThunk [0x76D66A39+25]
RtlGetFullPathName_UEx [0x77AF7E4D+173]
RtlGetFullPathName_UEx [0x77AF7E1B+123]
(No symbol) [0x00000000]
不好意思,提了一个不相关的issue。
大佬能分享一下GLaDOS签到代码吗,之前忘了clone,谢谢
报错:
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.7) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
签到失败
Traceback (most recent call last):
File "./zodgame/zodgame.py", line 64, in
zodgame(cookie_string)
File "./zodgame/zodgame.py", line 58, in zodgame
assert "恭喜你签到成功!" in message or "您今日已经签到,请明天再来" in message
AssertionError
Error: Process completed with exit code 1.
zodgame的广告每天固定6积分,1积分换1酱油,是比签到更快更稳定的酱油来源.能不能添加一个每天自动看广告的功能?
可以将workflows的配置文件的第17行
- uses: actions/checkout@v2
改成
- uses: actions/checkout@v3
可以解决''Node.js 12 actions are deprecated.''的问题
Annotations
1 warning
build
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Run python3 ./zodgame/zodgame.py "***"
Traceback (most recent call last):
File "D:\a\zodgame_checkin\zodgame_checkin\zodgame\zodgame.py", line 184, in <module>
zodgame(cookie_string)
File "D:\a\zodgame_checkin\zodgame_checkin\zodgame\zodgame.py", line 144, in zodgame
driver = uc.Chrome(version_main=version, options = options)
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\undetected_chromedriver\__init__.py", line 453, in __init__
super(Chrome, self).__init__(
TypeError: __init__() got an unexpected keyword argument 'executable_path'
Error: Process completed with exit code 1.
临时的解决方法是在requirements.txt
文件中,第一行添加selenium==4.9.1
selenium==4.9.1
undetected-chromedriver
如果大佬有空可以针对新版本修一下
RT
RT,显示
【Log】任务 1 广告页检查失败。
【Log】任务 1 确认页检查失败。
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.