wodsuz / EasyApplyJobsBot

A python bot to automatically apply all Linkedin,Glassdoor, etc Easy Apply jobs based on your preferences. Auto login, auto fill additional questions, apply automatically!
https://www.automated-bots.com/
Other
478 stars 150 forks source link

Issue with fix and optimization suggestion #3

Closed Yasser-Mah closed 2 years ago

Yasser-Mah commented 2 years ago

Hi, I've been working on the same thing. I noticed you have a few issues I've encountered.

  1. Issue (critical): Some cities like "Łódź" that have special characters will cause the bot to crash when trying to write to the log file. As an easy fix you can just f.write(f'{text.encode("utf-8")} \n') in line 54 in utils file
  2. Issue (Optimization): You usually want to do time.sleep(X) After checking if you already applied to this job this will help a lot with time I think and not make the bot any more detectable. I just do one time.sleep(1) after self.driver.get(offerPage) and then add the other wait time inside the next if statement (if button is not False:)

Hope this is clear enough of an explanation :D

wodsuz commented 2 years ago

Hey man thanks a lot for your feedback! Because of focusing on my work i had to work with this repo during my spare time.

  1. I did run the bot for non latin cities and on the log file i got the correct city name without any issue. Did you run the bot with "Łódź" and actually got an error? image

2.As you said, time.sleep is crucial for the page to load correctly and bot to not be detected. I updated the code little bit added fast,slow and medium constant options for the bot to run but i personally prefer safe option -> slower but safer.

Yasser-Mah commented 2 years ago
  1. Yes Lodz caused an error on my PC something about special characters causes it to crash, maybe a probably a problem with a library
  2. Yes I found that out pretty quickly when using it but I still think the optimization is worth it, specially when to take these sleeps just so that if you are reapplying to the same position, for some reason, it would skip it quickly, just to confirm I've lowered it a bit myself and had the bot running at least 10 hours and it still didn't seem to get detected (PS: as I said you can add more sleep time after you make sure the apply button exists).

On another note do you think it would be possible to do a bot that applies to jobs that aren't easy apply? I know it'd be unrealistic for most website but maybe to have a template for the top 10 most frequent websites (Personio, Workable, Greenhouse..) and then go from there?

wodsuz commented 2 years ago
  1. Please provide error message before i randomly try to solve it. Thanks
  2. Yea you can play with the bot, i have been using instaling it for several people didnt get any warning however i recomend safer way. Maybe in the future i can optimize more - for now i think it should stay like this.

So this is like a hobby project, the one i do in my spare time. Of course its possible to enrich this bot for other sites but for now since i dont have much time, income from this bot and demand, i will put that idea in the future implementations group.