通过selenium模拟浏览器来自动观看电竞比赛获取电竞典藏罐,当没有比赛时智能休眠.(Automatically watch e-sports games through undetected_chromedriver to farm esports capsule, when there is no match intelligent sleep.)
i setup the program make config
its opening login to esport site and after 5 min closing itself
here's the log
2024-04-21 15:32:00,907 INFO: -----------------------------------------------------------------------
2024-04-21 15:32:00,907 INFO: ---------------------- Program started 2.4.0 -----------------------
2024-04-21 15:32:00,907 INFO: ---------------------- Open Source on github ----------------------
2024-04-21 15:32:00,923 INFO: ------- Address: https://github.com/Yudaotor/EsportsHelper ------
2024-04-21 15:32:00,923 INFO: ---------------- Please give me a star,Thanks(^_^) ---------------
2024-04-21 15:32:00,923 INFO: -----------------------------------------------------------------------
2024-04-21 15:32:21,298 INFO: -----------------------------------------------------------------------
2024-04-21 15:32:21,298 INFO: ---------------------- Program started 2.4.0 -----------------------
2024-04-21 15:32:21,298 INFO: ---------------------- Open Source on github ----------------------
2024-04-21 15:32:21,298 INFO: ------- Address: https://github.com/Yudaotor/EsportsHelper ------
2024-04-21 15:32:21,298 INFO: ---------------- Please give me a star,Thanks(^_^) ---------------
2024-04-21 15:32:21,298 INFO: -----------------------------------------------------------------------
2024-04-21 15:32:21,595 INFO: Parameter file successfully imported.
2024-04-21 15:32:22,517 INFO: ====== WebDriver manager ======
2024-04-21 15:32:25,673 INFO: Get LATEST chromedriver version for google-chrome
2024-04-21 15:32:25,673 INFO: Get LATEST chromedriver version for google-chrome
2024-04-21 15:32:25,673 INFO: There is no [win64] chromedriver "123.0.6312.124" for browser google-chrome "123.0.6312.124" in cache
2024-04-21 15:32:25,673 INFO: Get LATEST chromedriver version for google-chrome
2024-04-21 15:32:25,767 INFO: WebDriver version 123.0.6312.122 selected
2024-04-21 15:32:25,767 INFO: Modern chrome version https://storage.googleapis.com/chrome-for-testing-public/123.0.6312.122/win32/chromedriver-win32.zip
2024-04-21 15:32:25,767 INFO: About to download new driver from https://storage.googleapis.com/chrome-for-testing-public/123.0.6312.122/win32/chromedriver-win32.zip
2024-04-21 15:32:25,907 INFO: Driver downloading response is 200
2024-04-21 15:32:26,110 INFO: Get LATEST chromedriver version for google-chrome
2024-04-21 15:32:26,407 INFO: Driver has been saved in cache [.\driver.wdm\drivers\chromedriver\win64\123.0.6312.124]
2024-04-21 15:32:28,448 INFO: Using default port 9222
2024-04-21 15:32:28,452 INFO: Preparing...
2024-04-21 15:32:28,464 INFO: patching driver executable .\driver.wdm\drivers\chromedriver\win64\123.0.6312.124\chromedriver-win32/chromedriver.exe
2024-04-21 15:32:40,692 INFO: WatchRegion Turkey
2024-04-21 15:33:31,463 ERROR: Web language switch failed.
2024-04-21 15:33:31,494 ERROR: ++++++++++++++++++++++++++++++++++++++++++++++++++
Traceback (most recent call last):
File "main.py", line 118, in switchLanguage
File "selenium\webdriver\support\wait.py", line 95, in until
selenium.common.exceptions.TimeoutException: Message:
2024-04-21 15:33:32,511 ERROR: Web language switch failed.
2024-04-21 15:33:32,511 INFO: Program exited.
i setup the program make config its opening login to esport site and after 5 min closing itself
here's the log
2024-04-21 15:32:00,907 INFO: ----------------------------------------------------------------------- 2024-04-21 15:32:00,907 INFO: ---------------------- Program started 2.4.0 ----------------------- 2024-04-21 15:32:00,907 INFO: ---------------------- Open Source on github ---------------------- 2024-04-21 15:32:00,923 INFO: ------- Address: https://github.com/Yudaotor/EsportsHelper ------ 2024-04-21 15:32:00,923 INFO: ---------------- Please give me a star,Thanks(^_^) --------------- 2024-04-21 15:32:00,923 INFO: ----------------------------------------------------------------------- 2024-04-21 15:32:21,298 INFO: ----------------------------------------------------------------------- 2024-04-21 15:32:21,298 INFO: ---------------------- Program started 2.4.0 ----------------------- 2024-04-21 15:32:21,298 INFO: ---------------------- Open Source on github ---------------------- 2024-04-21 15:32:21,298 INFO: ------- Address: https://github.com/Yudaotor/EsportsHelper ------ 2024-04-21 15:32:21,298 INFO: ---------------- Please give me a star,Thanks(^_^) --------------- 2024-04-21 15:32:21,298 INFO: ----------------------------------------------------------------------- 2024-04-21 15:32:21,595 INFO: Parameter file successfully imported. 2024-04-21 15:32:22,517 INFO: ====== WebDriver manager ====== 2024-04-21 15:32:25,673 INFO: Get LATEST chromedriver version for google-chrome 2024-04-21 15:32:25,673 INFO: Get LATEST chromedriver version for google-chrome 2024-04-21 15:32:25,673 INFO: There is no [win64] chromedriver "123.0.6312.124" for browser google-chrome "123.0.6312.124" in cache 2024-04-21 15:32:25,673 INFO: Get LATEST chromedriver version for google-chrome 2024-04-21 15:32:25,767 INFO: WebDriver version 123.0.6312.122 selected 2024-04-21 15:32:25,767 INFO: Modern chrome version https://storage.googleapis.com/chrome-for-testing-public/123.0.6312.122/win32/chromedriver-win32.zip 2024-04-21 15:32:25,767 INFO: About to download new driver from https://storage.googleapis.com/chrome-for-testing-public/123.0.6312.122/win32/chromedriver-win32.zip 2024-04-21 15:32:25,907 INFO: Driver downloading response is 200 2024-04-21 15:32:26,110 INFO: Get LATEST chromedriver version for google-chrome 2024-04-21 15:32:26,407 INFO: Driver has been saved in cache [.\driver.wdm\drivers\chromedriver\win64\123.0.6312.124] 2024-04-21 15:32:28,448 INFO: Using default port 9222 2024-04-21 15:32:28,452 INFO: Preparing... 2024-04-21 15:32:28,464 INFO: patching driver executable .\driver.wdm\drivers\chromedriver\win64\123.0.6312.124\chromedriver-win32/chromedriver.exe 2024-04-21 15:32:40,692 INFO: WatchRegion Turkey 2024-04-21 15:33:31,463 ERROR: Web language switch failed. 2024-04-21 15:33:31,494 ERROR: ++++++++++++++++++++++++++++++++++++++++++++++++++ Traceback (most recent call last): File "main.py", line 118, in switchLanguage File "selenium\webdriver\support\wait.py", line 95, in until selenium.common.exceptions.TimeoutException: Message:
2024-04-21 15:33:32,511 ERROR: Web language switch failed. 2024-04-21 15:33:32,511 INFO: Program exited.