-
Notifications
You must be signed in to change notification settings - Fork 186
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
CrawlImmobilienscout crashing #199
Comments
Hi @TimS-Official, can you try adding the following arguments for |
When only adding |
I tried refollowing the installation guide. And set
This error is apparently independent from driver_arguments. |
Do you have an exact version match between your webdriver version and your chrome version? I see the error |
I followed the first part of this tutorial: https://yizeng.me/2014/04/20/install-chromedriver-and-phantomjs-on-linux-mint/ Therefore I installed the newest version which was something with 105.x |
Running in docker I needed to add these two arguments for it to run.
|
@squilaSC thanks, this makes the docker image run but I experienced a crash. Edit: I've run the container over night now, I crashed again after a couple of hours.
Log 2
|
Can confirm @abuchmueller 's experience. Thanks to docker's "restart unless stopped"-policy it just restarts the process and I can actually use it.
Looking into the logs ( Edit:
After taking a second look at the timestamps I saw that they are almost exactly 10min after the last successful search. Thus the crash seems to occur during crawling and for this special occurance there even was no captcha required. Edit2: According to stackoverflow (https://stackoverflow.com/questions/53902507/unknown-error-session-deleted-because-of-page-crash-from-unknown-error-cannot) the extra parameter Under docker/cli#1278 you find a way to persistently increase dockers ShmSize. I will try this approach today. Edit3: Runs for 24+ hours without crashing now. Seems to work :) |
🎉 |
On running the flathunter.service I get this error:
When I remove the
CrawlImmobilienscout(self)
from config.py everything works perfectlyThe text was updated successfully, but these errors were encountered: