Closed km1273551 closed 1 year ago
@km1273551 hi,
Some users don't see cookies page on Facebook login. Can you add ''' characters between those parts and run it again?
''' cookies = WebDriverWait(self.browser, 10).until( EC.presence_of_element_located((By.CLASS_NAME, '_9xo5')) ) cookies.click() sleep(5) '''
thank you it works but Another Error appeared and when login in Gmail This message appears Something went wrong in Gmail login process.
@km1273551 hi,
Unfortunatelly, you can't run gmail task in headless mode due to Google restriction. You should run it in non-headless mode.
Ok, How run it in non-headless mode? Thank you.
Please add # character to 14th line in https://github.com/asimptot/FollowerBot/blob/main/init.py
Please add # character to 14th line in https://github.com/asimptot/FollowerBot/blob/main/init.py
chrome_options.add_argument('--headless')
I noticed when getting credit when registering on the OKRU site, the error shown in the picture occurs due to It is prohibited in our country So how can I cancel it during registration?
If you mean how to cancel ok.ru task, you should remove in the following lines from the code.
amf.login_okru() amf.okru_join
now it works, thank you bro
gmail is still not working in non headless mode.
gmail is still not working in non headless mode.
What kind of error did you get?
SAme error as before that something went wrong while login gmail
Can you please send a screenshot of your browser?
This error is comming https://ibb.co/9c67LXk
You should use this init.py file to pass this screen. Otherwise Google blocks your attemption.
now giving this error python: can't open file 'C:\Users\Asus\Downloads\Compressed\FollowerBot-main\FollowerBot-main\get_credit_on_AddMeFast': [Errno 2] No such file or directory
C:\Users\Asus\Downloads\Compressed\FollowerBot-main\FollowerBot-main>python get_credit_on_AddMeFast.py
Traceback (most recent call last):
File "C:\Users\Asus\Downloads\Compressed\FollowerBot-main\FollowerBot-main\get_credit_on_AddMeFast.py", line 958, in
Exception ignored in: <function Chrome.del at 0x0000023478BBD260> Traceback (most recent call last): File "C:\Users\Asus\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver__init.py", line 769, in del__ File "C:\Users\Asus\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver__init__.py", line 758, in quit OSError: [WinError 6] The handle is invalid
I have no clue how to fix it. It seems caused by your setup. You should update version main --> 108, 109 etc.
self.browser = uc.Chrome(options=chrome_options, version_main=108)
Hi, I have this error, could you help me?