Second-Hand-Friends / kleinanzeigen-bot

A dilligent command line tool to publish ads on kleinanzeigen.de
GNU Affero General Public License v3.0
216 stars 44 forks source link

[BUG] Captcha not passed #259

Closed euberdeveloper closed 8 months ago

euberdeveloper commented 9 months ago

✔️ 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

IchSkill commented 9 months ago

The Bot gets banned and crashes, right?

euberdeveloper commented 9 months ago

I think it's the same of issue #219

euberdeveloper commented 9 months ago

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

euberdeveloper commented 9 months ago

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

statementer commented 8 months ago

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

euberdeveloper commented 8 months ago

This has more details #219

Synzed commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

Should be solved by latest release