neopostmodern / wohnungsbot

Der Wohnungsbot — die Anwendung zum 2. Akt ("Das Versprechen des Bots") des Automatisierungsdramas in drei Akten "Von einem der auszog eine Wohnung in Berlin zu finden" von Clemens Schöll
https://wohnungsbot.de
GNU Affero General Public License v3.0
151 stars 27 forks source link

Captcha when sending message #59

Open rusagent opened 3 years ago

rusagent commented 3 years ago

A capture reqeuest has come up and the bot thinks that the message is sent...

Any solutions? Untitled

neopostmodern commented 3 years ago

Oh, that looks new! I'll try to see if the same as with #33 can be done in the short term. Long term it would be nice if the Wohnungsbot just properly filled captchas.

rusagent commented 3 years ago

Would be sweet as! Maybe i can even help out. Just tell me what to do - never collaborated on github :D

neopostmodern commented 3 years ago

Help would be appreciated! Fork the repo, get it to run locally and see if you can build something similar to this. It should be possible to recycle setInteractiveMode. The other pointer is this file, that's where the check needs to be added.

rusagent commented 3 years ago

Alright. I'll try to invest my time to this! (=

vin-ni commented 2 years ago

Also got this captcha. Not sure yet what happened. When I wanted to fill it out, it disappeared and the application seemed to be sent.

leegarrett commented 2 years ago

Also got this captcha. Not sure yet what happened. When I wanted to fill it out, it disappeared and the application seemed to be sent.

Apparently the bot just skips the captcha, not sending out the application, and then continues looking for new apartments. To make things more confusing, the applications are then listed in the left, giving the user a false sense of something actually having been sent. This should be a far more critical bug.

It should at a minimum verify it by checking for a box with "Ihre Bewerbung wurde gesendet" or whatever the exact phrase is. Short term it would be best to set interactive mode for users to solve it, though I'd expect there to be some timeout on the IS24 side which would make this problematic.

Long term #87 is the way to go.

neopostmodern commented 2 years ago

As far as I remember the wording on the confirmation page changed too much to be easily checked against, but you're right that some pattern ought to be found to check against a successful submission.