Raspberry Pi3b to slow for CAPTCHA #648
Unanswered
spardas1981
asked this question in
Q&A
Replies: 1 comment
-
@spardas1981 I guess this is related to my fork rdavydov#37 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Together
First of all, thank you for the exact project :)
Until Twitch changed the login 1.3.2 everything ran fine on my Raspberry Pi3b. Now you have to plug in yes with CAPTCHA certified, oke display installed and run the script.
Problem is that the Raspberry Pi3b takes a very long time to open Chromium Browser. Unfortunately the script then aborts the login attempt because the Chromium browser is not ready.
I think the problem is not with the script.
Does anyone have this problem too, is there a solution? Is it possible to extend the login timeout.
Best thanks in advance. :)
Here is the log for the sake of completeness.
python run.py 11/11/22 11:12:14 - INFO - [run]: 💣 Start session: 'bcedefbf-c22a-4496-81a7-1ef3d8522234' 11/11/22 11:12:14 - INFO - [login_flow]: You'll have to login to Twitch! 11/11/22 11:12:15 - INFO - [login_flow]: Console login unavailable (CAPTCHA solving required). 11/11/22 11:12:18 - INFO - [login_flow_backup]: Now a browser window will open, it will login with your data. 11/11/22 11:12:20 - INFO - [patch_exe]: patching driver executable /home/pi/.local/share/undetected_chromedriver/6d16b5cb10291e5f_chromedriver Traceback (most recent call last): File "/home/pi/Twitch-Channel-Points-Miner-v2-1.4.1/run.py", line 86, in <module> twitch_miner.mine( File "/home/pi/Twitch-Channel-Points-Miner-v2-1.4.1/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 162, in mine self.run(streamers=streamers, blacklist=blacklist, followers=followers) File "/home/pi/Twitch-Channel-Points-Miner-v2-1.4.1/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 180, in run self.twitch.login() File "/home/pi/Twitch-Channel-Points-Miner-v2-1.4.1/TwitchChannelPointsMiner/classes/Twitch.py", line 87, in login if self.twitch_login.login_flow(): File "/home/pi/Twitch-Channel-Points-Miner-v2-1.4.1/TwitchChannelPointsMiner/classes/TwitchLogin.py", line 155, in login_flow self.set_token(self.login_flow_backup(password)) File "/home/pi/Twitch-Channel-Points-Miner-v2-1.4.1/TwitchChannelPointsMiner/classes/TwitchLogin.py", line 191, in login_flow_backup driver = uc.Chrome( File "/home/pi/.local/lib/python3.9/site-packages/seleniumwire/undetected_chromedriver/webdriver.py", line 61, in __init__ super().__init__(*args, **kwargs) File "/home/pi/.local/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 409, in __init__ super(Chrome, self).__init__( File "/home/pi/.local/lib/python3.9/site-packages/selenium/webdriver/chrome/webdriver.py", line 69, in __init__ super().__init__(DesiredCapabilities.CHROME['browserName'], "goog", File "/home/pi/.local/lib/python3.9/site-packages/selenium/webdriver/chromium/webdriver.py", line 89, in __init__ self.service.start() File "/home/pi/.local/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 71, in start self.process = subprocess.Popen(cmd, env=self.env, File "/usr/lib/python3.9/subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) OSError: [Errno 8] Exec format error: '/home/pi/.local/share/undetected_chromedriver/6d16b5cb10291e5f_chromedriver' --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.9/logging/handlers.py", line 1431, in emit self.enqueue(self.prepare(record)) File "/usr/lib/python3.9/logging/handlers.py", line 1416, in prepare record = copy.copy(record) File "/usr/lib/python3.9/copy.py", line 92, in copy rv = reductor(4) ImportError: sys.meta_path is None, Python is likely shutting down Call stack: File "/home/pi/.local/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 657, in __del__ self.quit() File "/home/pi/.local/lib/python3.9/site-packages/seleniumwire/webdriver.py", line 68, in quit super().quit() File "/home/pi/.local/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 608, in quit logger.debug("closing webdriver") Message: 'closing webdriver' Arguments: () --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.9/logging/handlers.py", line 1431, in emit self.enqueue(self.prepare(record)) File "/usr/lib/python3.9/logging/handlers.py", line 1416, in prepare record = copy.copy(record) File "/usr/lib/python3.9/copy.py", line 92, in copy rv = reductor(4) ImportError: sys.meta_path is None, Python is likely shutting down Call stack: File "/home/pi/.local/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 657, in __del__ self.quit() File "/home/pi/.local/lib/python3.9/site-packages/seleniumwire/webdriver.py", line 68, in quit super().quit() File "/home/pi/.local/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 618, in quit logger.debug("killing browser") Message: 'killing browser' Arguments: () --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.9/logging/handlers.py", line 1431, in emit self.enqueue(self.prepare(record)) File "/usr/lib/python3.9/logging/handlers.py", line 1416, in prepare record = copy.copy(record) File "/usr/lib/python3.9/copy.py", line 92, in copy rv = reductor(4) ImportError: sys.meta_path is None, Python is likely shutting down Call stack: File "/home/pi/.local/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 657, in __del__ self.quit() File "/home/pi/.local/lib/python3.9/site-packages/seleniumwire/webdriver.py", line 68, in quit super().quit() File "/home/pi/.local/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 643, in quit logger.debug("successfully removed %s" % self.user_data_dir) Message: 'successfully removed /tmp/tmpoeuw4_r_' Arguments: () --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.9/logging/handlers.py", line 1431, in emit self.enqueue(self.prepare(record)) File "/usr/lib/python3.9/logging/handlers.py", line 1416, in prepare record = copy.copy(record) File "/usr/lib/python3.9/copy.py", line 92, in copy rv = reductor(4) ImportError: sys.meta_path is None, Python is likely shutting down Call stack: File "/home/pi/.local/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 657, in __del__ self.quit() File "/home/pi/.local/lib/python3.9/site-packages/seleniumwire/webdriver.py", line 68, in quit super().quit() File "/home/pi/.local/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 649, in quit self.patcher = None File "/home/pi/.local/lib/python3.9/site-packages/undetected_chromedriver/patcher.py", line 270, in __del__ logger.debug("successfully unlinked %s" % self.executable_path) Message: 'successfully unlinked /home/pi/.local/share/undetected_chromedriver/6d16b5cb10291e5f_chromedriver' Arguments: ()
Beta Was this translation helpful? Give feedback.
All reactions