|
|
|
Sponsor me on PayPal |
通过selenium模拟浏览器来自动观看电竞比赛获取电竞典藏罐,当没有比赛时智能休眠.(Automatically watch e-sports games through undetected_chromedriver to farm esports capsule, when there is no match intelligent sleep.)
License: MIT License
配置文件(之前是可以获得掉落提示的,可能是 notifyType
出现的问题 ):
language: "zh_CN"
delay: 600 # 每次检查的时间间隔,单位为秒(默认为600秒)
headless: true # 设置为True时,程序会在后台运行,否则会打开浏览器窗口(默认为False)
username: "我的账户" # 必填,账号
password: "我的密码" # 必填,密码
#disWatchMatches: ["lck", "lpl", "lcs"] # 选填,不想看的赛区名称,可以在这里添加.(注意,是小写)
connectorDropsUrl: https://discord.com/api/webhooks/我的discord密钥
platForm: "linux"
maxRunHours: "-1" # (尚未实现)负值为一直运行,正值为运行小时, 默认-1
closeStream: "False" # 省流模式,默认False,关闭直播间的视频流(未知风险)(测试过,可以正常掉落)(有兴趣者自行尝试)
desktopNotify: "False" # 系统弹窗提示,默认False
sleepPeriod: ["8-13"] # 休眠时间段,(默认为空)格式为"开始小时-结束小时",在休眠时间段中会以1小时间隔来检查。区间为左闭合右开。
countDrops: True #是否检查掉落数
ignoreBoardCast: True
notifyType: "drops"
#autoSleep: True
日志:
2023-04-28 21:03:06,472 INFO: -------------------------------------------------
2023-04-28 21:03:06,472 INFO: ----------- Program started ---------------
2023-04-28 21:03:06,472 INFO: ----------- OpenSourse in github ---------------
2023-04-28 21:03:06,472 INFO: ----- Address: https://github.com/Yudaotor/EsportsHelper -------
2023-04-28 21:03:06,472 INFO: ----------- Please give me a star,Thanks(*^_^*) ---------------
2023-04-28 21:03:06,472 INFO: -------------------------------------------------
2023-04-28 21:03:10,951 INFO: ====== WebDriver manager ======
2023-04-28 21:03:14,482 INFO: Get LATEST chromedriver version for google-chrome 112.0.5615
2023-04-28 21:03:17,160 INFO: Driver [driver/.wdm/drivers/chromedriver/linux64/112.0.5615/chromedriver] found in cache
2023-04-28 21:03:26,318 INFO: setting properties for headless
2023-04-28 21:03:31,196 INFO: 切换语言成功
2023-04-28 21:03:39,699 INFO: 登录中...
2023-04-28 21:03:45,089 INFO: 账密 提交成功
2023-04-28 21:03:51,515 INFO: 好嘞 登录成功
2023-04-28 21:03:53,057 INFO: 获取override文件成功
2023-04-28 21:03:59,857 INFO: 开始检查...
2023-04-28 21:04:02,337 INFO: 本次运行掉落总和:0 | 生涯总掉落:49 | 总观看时长: 642
2023-04-28 21:04:12,111 INFO: 检查赛区直播状态...
2023-04-28 21:04:15,131 INFO: 没有赛区正在直播
2023-04-28 21:04:18,290 INFO: 下次检查在: 04-28 21:18:08
2023-04-28 21:04:18,291 INFO: ==================================================
2023-04-28 21:18:27,134 INFO: 开始检查...
2023-04-28 21:18:29,861 INFO: 本次运行掉落总和:0 | 生涯总掉落:49 | 总观看时长: 642
2023-04-28 21:18:39,424 INFO: 检查赛区直播状态...
2023-04-28 21:18:42,446 INFO: 1 个赛区正在直播中
2023-04-28 21:19:05,701 INFO: tft_esports 正常观看 可获取奖励 TFT Rising Legends: SuperBrawl DAY 1 563 人观看
2023-04-28 21:19:15,690 INFO: Twitch 160p清晰度设置成功
2023-04-28 21:19:22,847 INFO: 下次检查在: 04-28 21:32:52
2023-04-28 21:19:22,850 INFO: ==================================================
2023-04-28 21:33:13,174 INFO: 开始检查...
2023-04-28 21:33:17,444 INFO: 本次运行掉落总和:0 | 生涯总掉落:49 | 总观看时长: 642
2023-04-28 21:33:31,136 INFO: 检查赛区直播状态...
2023-04-28 21:33:34,156 INFO: 1 个赛区正在直播中
2023-04-28 21:33:35,363 INFO: tft_esports 正常观看 可获取奖励 TFT Rising Legends: SuperBrawl DAY 1 1046 人观看
2023-04-28 21:33:38,548 INFO: 下次检查在: 04-28 21:45:48
2023-04-28 21:33:38,548 INFO: ==================================================
2023-04-28 21:46:07,030 INFO: 开始检查...
2023-04-28 21:46:09,839 INFO: 本次运行掉落总和:0 | 生涯总掉落:49 | 总观看时长: 642
2023-04-28 21:46:19,036 INFO: 检查赛区直播状态...
2023-04-28 21:46:22,054 INFO: 1 个赛区正在直播中
2023-04-28 21:46:23,195 INFO: tft_esports 正常观看 可获取奖励 TFT Rising Legends: SuperBrawl DAY 1 1335 人观看
2023-04-28 21:46:26,367 INFO: 下次检查在: 04-28 22:00:06
2023-04-28 21:46:26,367 INFO: ==================================================
2023-04-28 22:00:26,760 INFO: 开始检查...
2023-04-28 22:00:30,126 INFO: 本次运行掉落总和:0 | 生涯总掉落:49 | 总观看时长: 642
2023-04-28 22:00:39,493 INFO: 检查赛区直播状态...
2023-04-28 22:00:42,517 INFO: 1 个赛区正在直播中
2023-04-28 22:00:43,642 INFO: tft_esports 正常观看 可获取奖励 TFT Rising Legends: SuperBrawl DAY 1 1641 人观看
2023-04-28 22:00:46,876 INFO: 下次检查在: 04-28 22:12:46
2023-04-28 22:00:46,877 INFO: ==================================================
2023-04-28 22:13:05,451 INFO: 开始检查...
2023-04-28 22:13:08,195 INFO: 本次运行掉落总和:0 | 生涯总掉落:49 | 总观看时长: 642
2023-04-28 22:13:18,146 INFO: 检查赛区直播状态...
2023-04-28 22:13:21,166 INFO: 1 个赛区正在直播中
2023-04-28 22:13:22,284 INFO: tft_esports 正常观看 可获取奖励 TFT Rising Legends: SuperBrawl DAY 1 1983 人观看
2023-04-28 22:13:25,456 INFO: 下次检查在: 04-28 22:27:25
2023-04-28 22:13:25,456 INFO: ==================================================
2023-04-28 22:27:44,176 INFO: 开始检查...
2023-04-28 22:27:46,840 INFO: 本次运行掉落详细: ['TFT Rising Legends:1']
2023-04-28 22:27:46,960 INFO: 本次运行掉落总和:1 | 生涯总掉落:50 | 总观看时长: 642
2023-04-28 22:27:56,246 INFO: 检查赛区直播状态...
2023-04-28 22:27:59,266 INFO: 1 个赛区正在直播中
2023-04-28 22:28:00,415 INFO: tft_esports 正常观看 可获取奖励 TFT Rising Legends: SuperBrawl DAY 1 2423 人观看
2023-04-28 22:28:03,581 INFO: 下次检查在: 04-28 22:37:43
2023-04-28 22:28:03,581 INFO: ==================================================
异常信息推送有点太频繁了。。。作为需要用梯子的网络偶尔抽风挺正常,希望能在config.yaml里加一个参数来控制推送信息的类型,例如:
pushinfotype
: "drop only/warning/informative"
2023-04-20 12:21:48,298 ERROR: 发生错误
2023-04-20 12:21:48,301 ERROR: Traceback (most recent call last):
File "/home/z/EsportsHelper/EsportsHelper/Match.py", line 87, in watchMatches
self.driver.switch_to.window(self.rewardWindow)
File "/home/z/.local/lib/python3.10/site-packages/selenium/webdriver/remote/switch_to.py", line 130, in window
self._w3c_window(window_name)
File "/home/z/.local/lib/python3.10/site-packages/selenium/webdriver/remote/switch_to.py", line 138, in _w3c_window
send_handle(window_name)
File "/home/z/.local/lib/python3.10/site-packages/selenium/webdriver/remote/switch_to.py", line 134, in send_handle
self._driver.execute(Command.SWITCH_TO_WINDOW, {"handle": h})
File "/home/z/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/z/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: disconnected: not connected to DevTools
(failed to check if window was closed: disconnected: not connected to DevTools)
(Session info: chrome=112.0.5615.121)
Stacktrace:
#0 0x5571e9cd0fe3 <unknown>
#1 0x5571e9a0fd36 <unknown>
#2 0x5571e99f7948 <unknown>
#3 0x5571e99f8db2 <unknown>
#4 0x5571e99f8d04 <unknown>
#5 0x5571e99e951e <unknown>
#6 0x5571e99ea176 <unknown>
#7 0x5571e9a79a5b <unknown>
#8 0x5571e9a6d888 <unknown>
#9 0x5571e9a4003a <unknown>
#10 0x5571e9a4117e <unknown>
#11 0x5571e9c92dbd <unknown>
#12 0x5571e9c96c6c <unknown>
#13 0x5571e9ca04b0 <unknown>
#14 0x5571e9c97d63 <unknown>
#15 0x5571e9c6ac35 <unknown>
#16 0x5571e9cbb138 <unknown>
#17 0x5571e9cbb2c7 <unknown>
#18 0x5571e9cc9093 <unknown>
#19 0x7fd7d438fb43 <unknown>
2023-04-20 12:21:48,821 INFO: 异常提醒成功
2023-04-20 12:21:51,846 ERROR: 发生错误
2023-04-20 12:21:51,846 INFO: ------Quit------
2023-04-20 12:21:55,350 ERROR: Exit
2023-04-20 12:21:55,350 INFO: ------Quit------
2023-04-20 12:21:55,351 INFO: ensuring close
2023.8.5的LCK賽事開始於14:30,但實際準備開始於14:00,此時軟體識別爲近期無賽事進行直接出現將睡眠至16:30下一場賽事的字樣。在比賽在14:30開始后仍然保持睡眠狀態
将文件分别放入了两个文件夹中,并设置不同的config,但同时打开两个程序时,只有先开启的程序可以运行,第二个程序会提示需要浏览器升级为最新版本。
可能是因为他的标题是预告?
想請問能否用android設備開啟此軟件
像之前poro的FarmerEvolved那樣
如果可以 想請問該如何操作
希望能新增自訂瀏覽器路徑的功能
電腦沒有安裝 Chrome
想用 Portable 的 Cent Browser 或 Firefox 來執行這個程式
感謝!
感谢作者大大的付出!想问一下headless模式被ban的风险会不会更大
Could you make it compatible with chromium on linux? I want to use it on an ARM machine with linux and there is no Chrome for this architecture
希望如poro和你其他项目那样,增加discord,telegram,dingding,bark有关胶囊掉落,账号异常状态的通知。
如何在linux环境运行
能否讲解一下如何在linux环境箱运行,如何配置环境及相关命令
描述 问题
在这里清楚直白的描述问题
如何重现
写清楚干了什么,什么情况,如何出现的问题
截图
在这里附上截图
系统版本以及软件版本
系统:
软件:
Maxstream 设定值为4(默认值),但只观看了一个赛区,就提示已达到最大观看赛区数
环境:WSL2 Ubuntu 22.04 lts X86_64 WIN11 headless mode
Traceback (most recent call last):
File "/home/z/EsportsHelper/EsportsHelper/Youtube.py", line 17, in setYoutubeQuality
wait.until(ec.frame_to_be_available_and_switch_to_it((By.CSS_SELECTOR, "iframe[id=video-player-youtube]")))
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/support/wait.py", line 95, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
#0 0x55c863a92243 <unknown>
#1 0x55c8638567a6 <unknown>
#2 0x55c86389364d <unknown>
#3 0x55c863893761 <unknown>
#4 0x55c8638ceda4 <unknown>
#5 0x55c8638b40ad <unknown>
#6 0x55c8638cc932 <unknown>
#7 0x55c8638b3e53 <unknown>
#8 0x55c8638869ea <unknown>
#9 0x55c863887b2e <unknown>
#10 0x55c863ae6d5e <unknown>
#11 0x55c863aeaa80 <unknown>
#12 0x55c863acc8b0 <unknown>
#13 0x55c863aebb63 <unknown>
#14 0x55c863abdf75 <unknown>
#15 0x55c863b0e998 <unknown>
#16 0x55c863b0eb27 <unknown>
#17 0x55c863b29c23 <unknown>
#18 0x7f69ad343b43 <unknown>
°D° Youtube 清晰度设置失败
√√√√√ nlc 正常观看 √√√√√
好奇问一下,为啥不要看某些赛区呢
我現在複製了整個文件夾來挂另一個賬號,好奇能否直接在config裏添加更多賬號?
Currently I copied the entire folder for the second account, wondering if I can add another account directly in the config file?
Traceback (most recent call last):
File "Twitch.py", line 19, in setTwitchQuality
File "selenium\webdriver\remote\webelement.py", line 93, in click
File "selenium\webdriver\remote\webelement.py", line 403, in _execute
File "selenium\webdriver\remote\webdriver.py", line 440, in execute
File "selenium\webdriver\remote\errorhandler.py", line 245, in check_response
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <iframe src="https://player.twitch.tv?channel=lolpacific&height=100%25&parent=lolesports.com&referrer=https%3A%2F%2Flolesports.com%2Flive%2Fpcs%2Flolpacific&theme=dark&width=100%25" allowfullscreen="" scrolling="no" frameborder="0" allow="autoplay; fullscreen" title="Twitch" sandbox="allow-modals allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox" width="100%" height="100%" cd_frame_id_="3363368827afe4e713c19bc7564033d1"></iframe> is not clickable at point (55, 730). Other element would receive the click:
(Session info: chrome=111.0.5563.111)
Stacktrace:
Backtrace:
(No symbol) [0x006DDCE3]
(No symbol) [0x006739D1]
(No symbol) [0x00584DA8]
(No symbol) [0x005B52EA]
(No symbol) [0x005B3BBA]
(No symbol) [0x005B23AD]
(No symbol) [0x005B1027]
(No symbol) [0x005A8D05]
(No symbol) [0x005CAECC]
(No symbol) [0x005A8726]
(No symbol) [0x005CB224]
(No symbol) [0x005DD57C]
(No symbol) [0x005CACC6]
(No symbol) [0x005A6F68]
(No symbol) [0x005A80CD]
GetHandleVerifier [0x00953832+2506274]
GetHandleVerifier [0x00989794+2727300]
GetHandleVerifier [0x0098E36C+2746716]
GetHandleVerifier [0x00786690+617600]
(No symbol) [0x0067C712]
(No symbol) [0x00681FF8]
(No symbol) [0x006820DB]
(No symbol) [0x0068C63B]
BaseThreadInitThunk [0x764C00F9+25]
RtlGetAppContainerNamedObjectPath [0x77467BBE+286]
RtlGetAppContainerNamedObjectPath [0x77467B8E+238]
打开之后黑色无反应,一瞬间报错以下然后退出
Traceback (most recent call last)File "Config.py',line 16.ininitypeError: expected str, bytes or os.PathLike object, not Nonelype
During handling of the above exception, another exception occurred
Traceback (most recent call last):Fileline 132,,in main.py',Fileline 116,"main.pyin main"Config.pyFileline 50.ininit
AttributeError:
Config’ object has no attribute 'language
During handling of the above exception, another exception occurred:
Traceback (most recent call last):File main.pyline 136,in 'driver’ is not defined. Did you mean:'Webdriver'?ameError: name[8748] Failed to execute script 'main' due to unhandled exceptio
生成WEBDRIVER失败!
是否有谷歌浏览器?
是不是网络问题?请检查VPN节点是否可用
如果还不行请尝试重装谷歌浏览器
VPN连接正常
重装Chrome后依旧无法成功启动 :(
Win11 Chrome115.0.5790.99(正式版本) (64 位)
is there a way to minimize program to tray so it doesn't pop up
统计掉落失败,推测是因为出了MSI限定表情,直接到背包里而导致的BUG。
log:
2023-05-04 21:04:50,987 INFO: 开始检查...
2023-05-04 21:04:50,991 INFO: 检查赛区直播状态...
2023-05-04 21:04:56,868 ERROR: 统计掉落失败
2023-05-04 21:04:56,889 ERROR: Traceback (most recent call last):
File "/home/z/EsportsHelper/EsportsHelper/Match.py", line 596, in countDrops
self.driver.find_element(
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webelement.py", line 94, in click
self._execute(Command.CLICK_ELEMENT)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webelement.py", line 404, in _execute
return self._parent.execute(command, params)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <div class="name">...</div> is not clickable at point (160, 41). Other element would receive the click: <div class="_1HHPg3wFUKgbozh3A2CcVl riotbar-header ">...</div>
(Session info: chrome=112.0.5615.121)
Stacktrace:
#0 0x5568c007bfe3 <unknown>
#1 0x5568bfdbad36 <unknown>
#2 0x5568bfdfeaef <unknown>
#3 0x5568bfdfca31 <unknown>
#4 0x5568bfdfa2de <unknown>
#5 0x5568bfdf9358 <unknown>
#6 0x5568bfded0c5 <unknown>
#7 0x5568bfe188c2 <unknown>
#8 0x5568bfdec943 <unknown>
#9 0x5568bfe18a8e <unknown>
#10 0x5568bfe31232 <unknown>
#11 0x5568bfe18693 <unknown>
#12 0x5568bfdeb03a <unknown>
#13 0x5568bfdec17e <unknown>
#14 0x5568c003ddbd <unknown>
#15 0x5568c0041c6c <unknown>
#16 0x5568c004b4b0 <unknown>
#17 0x5568c0042d63 <unknown>
#18 0x5568c0015c35 <unknown>
#19 0x5568c0066138 <unknown>
#20 0x5568c00662c7 <unknown>
#21 0x5568c0074093 <unknown>
#22 0x7f4a3001bb43 <unknown>
2023-05-04 21:04:58,967 INFO: 1 个赛区正在直播中
2023-05-04 21:05:00,036 INFO: msi 正常观看 可获取奖励 BLG vs. GG 88630 人观看
2023-05-04 21:05:03,142 INFO: 下次检查在: 05-04 21:15:33
2023-05-04 21:05:03,142 INFO: ==================================================
描述 问题
selenium.common.exceptions.NoSuchWindowException
如何重现
写清楚干了什么,什么情况,如何出现的问题
截图
============================================
●_● 开始检查直播...
ㅎ.ㅎ 现在有 3 个赛区正在直播中
Traceback (most recent call last):
File "Match.py", line 138, in closeFinishedTabs
File "selenium\webdriver\remote\switch_to.py", line 130, in window
File "selenium\webdriver\remote\switch_to.py", line 138, in _w3c_window
File "selenium\webdriver\remote\switch_to.py", line 134, in send_handle
File "selenium\webdriver\remote\webdriver.py", line 440, in execute
File "selenium\webdriver\remote\errorhandler.py", line 245, in check_response
selenium.common.exceptions.NoSuchWindowException: Message: no such window
(Session info: chrome=111.0.5563.147)
Stacktrace:
Backtrace:
(No symbol) [0x0108DCE3]
(No symbol) [0x010239D1]
(No symbol) [0x00F34C70]
(No symbol) [0x00F844EE]
(No symbol) [0x00F7AE93]
(No symbol) [0x00F56F68]
(No symbol) [0x00F580CD]
GetHandleVerifier [0x01303832+2506274]
GetHandleVerifier [0x01339794+2727300]
GetHandleVerifier [0x0133E36C+2746716]
GetHandleVerifier [0x01136690+617600]
(No symbol) [0x0102C712]
(No symbol) [0x01031FF8]
(No symbol) [0x010320DB]
(No symbol) [0x0103C63B]
BaseThreadInitThunk [0x76806A39+25]
RtlGetFullPathName_UEx [0x77AF7C9D+173]
RtlGetFullPathName_UEx [0x77AF7C6B+123]
下一次检查在: 03月30日 20时29分55秒
============================================
系统版本以及软件版本
系统: Windows Server 2022
软件: 1.1.0
Currently running Version 115.0.5790.99 of chrome and getting this message when attempting to start
WebDriver generation failure!
Is Google Chrome installed?
Is there a network problem? Check VPN availability if one connected
If it still doesn't work, try reinstalling Google Chrome.
Press Enter to exit.
Was working fine before the update
描述 问题
我这开了VPN在chorme上直接看Esports是没问题的,但是程序无法启动,提示没有安装最新chrome,可已经是最新版的chrome了
EsportsHelperApr-09-21-10.log
如何重现
管理员启动,无中文路径下运行都试过还是一样的问题
系统版本以及软件版本
系统:Win10家庭版
软件:1.2.1
谷歌浏览器自动更新了115,登录就变成一串红字。然后重新安装了两次114还是一串红字登录不了
描述 问题
在这里清楚直白的描述问题
如何重现
写清楚干了什么,什么情况,如何出现的问题
截图
在这里附上截图
系统版本以及软件版本
系统:
软件:
大神你好,我设置了自动休眠,但是我看下场比赛到8.1(明天)的17:00了,现在是7.31的11点,它并没有切换到休眠状态,这是为啥?
请问如何取消默认的直播静音,直播静音放在后台经常会出现停止播放的状况,打开声音就不会出现这种情况。
如果不能的话,请问可否在后续更新中添加一个配置选项(如果代码复杂状况允许的话)
刚下了最新版本2.2.0,一直报这个错,想知道最新版本的驱动还是114.0.5735吗,上次已经下了这个版本并设置了不会更新,网络线路检查也没有问题,想知道是什么原因?
自动输入账号密码后,卡在登录页面,然后闪退
After automatically entering username/password, the website doesn't respond and unexpected quit happens
如题
大神你好,我更新2.0版本以后,总是会出现gui线程问题是什么原因?用1.7版本啥问题也没有。
生成WEBDRIVER失败!
是否有谷歌浏览器?
是不是网络问题?请检查VPN节点是否可用
如果还不行请尝试重装谷歌浏览器
大佬显示这个问题怎么解决,之前一直好好的,突然关掉就显示这个了.
Youtube貌似会必现selenium.common.exceptions.TimeoutException,我在本地开代理、AWS EC2 HK上都是这个情况,应该不是网络的问题吧
Traceback (most recent call last):
File "Youtube.py", line 17, in setYoutubeQuality
File "selenium\webdriver\support\wait.py", line 95, in until
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
Backtrace:
(No symbol) [0x00C3DCE3]
(No symbol) [0x00BD39D1]
(No symbol) [0x00AE4DA8]
(No symbol) [0x00B1019F]
(No symbol) [0x00B103AB]
(No symbol) [0x00B3EE62]
(No symbol) [0x00B2AF14]
(No symbol) [0x00B3D57C]
(No symbol) [0x00B2ACC6]
(No symbol) [0x00B06F68]
(No symbol) [0x00B080CD]
GetHandleVerifier [0x00EB3832+2506274]
GetHandleVerifier [0x00EE9794+2727300]
GetHandleVerifier [0x00EEE36C+2746716]
GetHandleVerifier [0x00CE6690+617600]
(No symbol) [0x00BDC712]
(No symbol) [0x00BE1FF8]
(No symbol) [0x00BE20DB]
(No symbol) [0x00BEC63B]
BaseThreadInitThunk [0x76BA6A39+25]
RtlGetFullPathName_UEx [0x77917C9D+173]
RtlGetFullPathName_UEx [0x77917C6B+123]
Line 11 in ec09657
from selenium.common.exceptions import NoSuchWindowException
except NoSuchWindowException as e:
can u make an english version along side the chinese one ?
系统 Debian10
运行报错
WebDriver generation failure!
The latest version of Google Chrome is not found.
Please check if Chrome downloaded or has the latest version.
Or try opening it as an administrator.
If it still doesn't work, try reinstalling Google Chrome.
但我使用google-chrome --version 会输出Google Chrome 114.0.5735.106,应该是成功安装的
After downloading .exe from releases in will launch with error if config.yaml file is not present. I propose either adding a function to generate config.yaml on first launch or adding config.yaml file with the releases, so it can be filled before launching for the first time.
环境:WSL2 Ubuntu22+
2023-06-08 14:40:25,544 INFO: -----------------------------------------------------------------------
2023-06-08 14:40:25,544 INFO: ---------------------- Program started 1.6.2 -----------------------
2023-06-08 14:40:25,544 INFO: ---------------------- Open Source on github ----------------------
2023-06-08 14:40:25,544 INFO: ------- Address: https://github.com/Yudaotor/EsportsHelper ------
2023-06-08 14:40:25,544 INFO: ---------------- Please give me a star,Thanks(*^_^*) ---------------
2023-06-08 14:40:25,544 INFO: -----------------------------------------------------------------------
2023-06-08 14:40:26,774 INFO: 获取参数文件成功
2023-06-08 14:40:28,048 INFO: ====== WebDriver manager ======
2023-06-08 14:40:28,049 INFO: ====== WebDriver manager ======
2023-06-08 14:40:28,049 INFO: 正在准备中...
2023-06-08 14:40:28,071 INFO: Get LATEST chromedriver version for google-chrome 114.0.5735
2023-06-08 14:40:29,450 INFO: There is no [linux64] chromedriver for browser 114.0.5735 in cache
2023-06-08 14:40:29,450 INFO: About to download new driver from https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_linux64.zip
2023-06-08 14:40:35,957 INFO: Driver has been saved in cache [driver/.wdm/drivers/chromedriver/linux64/114.0.5735]
2023-06-08 14:40:35,964 INFO: patching driver executable driver/.wdm/drivers/chromedriver/linux64/114.0.5735/chromedriver
2023-06-08 14:40:36,013 ERROR: Traceback (most recent call last):
File "/home/z/EsportsHelper/main.py", line 31, in init
driver = Webdriver().createWebdriver()
File "/home/z/EsportsHelper/EsportsHelper/Webdriver.py", line 62, in createWebdriver
return uc.Chrome(**{k: v for k, v in kwargs.items() if v})
File "/home/z/.local/lib/python3.10/site-packages/undetected_chromedriver/__init__.py", line 441, in __init__
super(Chrome, self).__init__(
TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path'
2023-06-08 14:40:38,150 INFO: 程序退出
2023-06-08 14:40:39,835 INFO: -----------------------------------------------------------------------
2023-06-08 14:40:39,835 INFO: ---------------------- Program started 1.6.2 -----------------------
2023-06-08 14:40:39,835 INFO: ---------------------- Open Source on github ----------------------
2023-06-08 14:40:39,835 INFO: ------- Address: https://github.com/Yudaotor/EsportsHelper ------
2023-06-08 14:40:39,835 INFO: ---------------- Please give me a star,Thanks(*^_^*) ---------------
2023-06-08 14:40:39,835 INFO: -----------------------------------------------------------------------
2023-06-08 14:40:41,223 INFO: 获取参数文件成功
2023-06-08 14:40:42,605 INFO: ====== WebDriver manager ======
2023-06-08 14:40:42,605 INFO: ====== WebDriver manager ======
2023-06-08 14:40:42,605 INFO: 正在准备中...
2023-06-08 14:40:42,627 INFO: Get LATEST chromedriver version for google-chrome 114.0.5735
2023-06-08 14:40:43,836 INFO: Driver [driver/.wdm/drivers/chromedriver/linux64/114.0.5735/chromedriver] found in cache
2023-06-08 14:40:43,940 ERROR: Traceback (most recent call last):
File "/home/z/EsportsHelper/main.py", line 31, in init
driver = Webdriver().createWebdriver()
File "/home/z/EsportsHelper/EsportsHelper/Webdriver.py", line 62, in createWebdriver
return uc.Chrome(**{k: v for k, v in kwargs.items() if v})
File "/home/z/.local/lib/python3.10/site-packages/undetected_chromedriver/__init__.py", line 441, in __init__
super(Chrome, self).__init__(
TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path'
2023-06-08 14:40:46,251 INFO: 程序退出
waiting MSI error
2023-05-02 09:59:41,283 ERROR: Traceback (most recent call last):
File "Match.py", line 203, in watchMatches
File "selenium\webdriver\support\wait.py", line 95, in until
selenium.common.exceptions.TimeoutException: Message:
2023-05-02 09:59:44,463 ERROR: An error has occurred.
2023-05-02 09:59:44,463 INFO: ------Quit------
2023-05-02 09:59:47,967 ERROR: Exit
2023-05-02 09:59:47,967 INFO: ------Quit------
2023-05-02 09:59:47,967 INFO: ensuring close
大佬,我设置了企业微信推送,给我推送了这个,这是什么情况?还有这个挂着能连续运行几天呢?感觉时间一长命令窗口就会自己关闭
描述 问题
脚本显示没有直播,但实际emea-masters是在直播的,也可以记入奖励,在config里我把disWatchMatches给注释掉了,也不存在选择性观看的问题。
如何重现
2023-04-15 04:02:08,240 INFO: -------------------------------------------------
2023-04-15 04:02:08,240 INFO: ----------- Program started ---------------
2023-04-15 04:02:08,240 INFO: ----------- 本项目开源于github ---------------
2023-04-15 04:02:08,240 INFO: ----- 地址: https://github.com/Yudaotor/EsportsHelper -------
2023-04-15 04:02:08,240 INFO: ----------- 可以点一个小星星吗(*^_^*) ---------------
2023-04-15 04:02:08,240 INFO: -------------------------------------------------
2023-04-15 04:02:09,529 INFO: patching driver executable /home/z/.local/share/undetected_chromedriver/undetected_chromedriver
2023-04-15 04:02:10,154 INFO: setting properties for headless
2023-04-15 04:02:12,564 INFO: 切换语言成功
2023-04-15 04:02:19,627 INFO: 눈_눈 登录中...
2023-04-15 04:02:30,152 INFO: ∩_∩ 好嘞 登录成功
2023-04-15 04:02:34,352 INFO: ●_● 开始检查...
2023-04-15 04:02:35,569 INFO: $_$ 本次运行掉落总和:0 生涯总掉落:41
2023-04-15 04:03:07,143 INFO: 〒.〒 没有赛区正在直播
2023-04-15 04:03:10,245 INFO: 下一次检查在: 2023-04-15 04:15:00.245464
系统版本以及软件版本
系统: WIN11 WSL2 UBUNTU 22.04
软件: 最新的commit 5aa58c8
Uninstall your chorme retain data
install old version
卸载你的chorme保留数据
安装旧版本
114.0.5735.199_x64
https://mega.nz/file/4G5FFBhI#bPZNi3SGV0E_ZSf5s1Tr7zc8CQbuBepw1oabDpPY6t8
if google auto update.watch here
enlish::
https://www.makeuseof.com/tag/stop-automatic-chrome-updates-windows/
中文:
https://www.cnblogs.com/mq0036/p/13947021.html
检查比赛的时候会出这个error,然后不停的重新检查
发生错误
Traceback (most recent call last):
File "Match.py", line 66, in watchMatches
UnicodeEncodeError: 'locale' codec can't encode character '\u6708' in position 2: encoding error
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.