Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Captcha not passed #259

Closed
1 task done
euberdeveloper opened this issue Feb 6, 2024 · 10 comments
Closed
1 task done

[BUG] Captcha not passed #259

euberdeveloper opened this issue Feb 6, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@euberdeveloper
Copy link

✔️ Expected Behaviour

The bot should work

🐞 Actual Behaviour

The captcha blocks the bot

📋 Steps to Reproduce

[INFO] App version: 2024+52f76f1
[INFO] Python version: 3.12.1 (main, Dec 8 2023, 05:40:51) [GCC 11.4.0]

📺 What browsers are you seeing the problem on? (if applicable)

Chrome

💻 What operating systems are you seeing the problem on? (if applicable)

Linux

📃 Relevant log output (if applicable)

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@euberdeveloper euberdeveloper added the bug Something isn't working label Feb 6, 2024
@euberdeveloper euberdeveloper changed the title [BUG] [BUG] Captcha not passed Feb 6, 2024
@IchSkill
Copy link

IchSkill commented Feb 6, 2024

The Bot gets banned and crashes, right?

@euberdeveloper
Copy link
Author

I think it's the same of issue #219

@euberdeveloper
Copy link
Author

To "solve it" I logged in manually by opening Chrome, then I added the user profile dir and used the non-private mode

@euberdeveloper
Copy link
Author

No need to say that this is not a fix but just a workaround

@statementer
Copy link

Could you explain how to do the workaround in detail? Please

@euberdeveloper
Copy link
Author

This has more details #219

  • Open manually the browser that you will use for the bot
  • Login to your Kleinanzeigen accounts
  • After the login, some session info will be saved in the (presumingly) chrome userd data folder
  • You can tell to the bot to use that folder for the selenium/bot session, so that the login is not needed (and hence not blocked)
  • So go to the config.yml and set that folder as user_data_dir here the usual location + do not use private mode

@Synzed
Copy link

Synzed commented Feb 29, 2024

This has more details #219

  • Open manually the browser that you will use for the bot
  • Login to your Kleinanzeigen accounts
  • After the login, some session info will be saved in the (presumingly) chrome userd data folder
  • You can tell to the bot to use that folder for the selenium/bot session, so that the login is not needed (and hence not blocked)
  • So go to the config.yml and set that folder as user_data_dir here the usual location + do not use private mode

doesnt solve it for me, still opens the browser in a new window with a fresh profile = get blocked again

@euberdeveloper
Copy link
Author

euberdeveloper commented Feb 29, 2024

This has more details #219

  • Open manually the browser that you will use for the bot
  • Login to your Kleinanzeigen accounts
  • After the login, some session info will be saved in the (presumingly) chrome userd data folder
  • You can tell to the bot to use that folder for the selenium/bot session, so that the login is not needed (and hence not blocked)
  • So go to the config.yml and set that folder as user_data_dir here the usual location + do not use private mode

doesnt solve it for me, still opens the browser in a new window with a fresh profile = get blocked again

Then you are doing something wrong, it is possible to open it with a logged profile

@shukui
Copy link

shukui commented Mar 7, 2024

This has more details #219

  • Open manually the browser that you will use for the bot
  • Login to your Kleinanzeigen accounts
  • After the login, some session info will be saved in the (presumingly) chrome userd data folder
  • You can tell to the bot to use that folder for the selenium/bot session, so that the login is not needed (and hence not blocked)
  • So go to the config.yml and set that folder as user_data_dir here the usual location + do not use private mode

Thanks a lot.
I tried this and got a WebDriverException
image

@sebthom
Copy link
Contributor

sebthom commented Mar 7, 2024

Should be solved by latest release

@sebthom sebthom closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

6 participants