Open utahbmxer opened 3 years ago
Getting the same problem with Amazon.it. I suppose it's something related to Chromium driver. I suck at Python too, so I can only guess what is going on here. I don't know, can it cache some previous result and give false results?
@Pipodi The chromedriver zombie bug was just fixed.
Please pull the latest image using:
$ docker pull ericjmarti/inventory-hunter:latest
The "missing title" errors you are seeing are caused by Amazon; they detected that you are running a web scraper and have revoked access. I am investigating workarounds now.
I am getting much better results on Amazon after this commit: https://github.com/EricJMarti/inventory-hunter/commit/e076181ca702b08c5271186197c51742d56f952e
Please update to the latest image and give it another try.
@EricJMarti Yeah, now it works! Thanks. If you have time, we could brainstorm and address https://github.com/EricJMarti/inventory-hunter/issues/54 in some more efficient way.
@Pipodi Yeah definitely. Right now, I'm working on standing up a unit testing framework so that we can add proper internationalization without breaking anything.
I haven't checked the other scrapers as close, but the Amazon one seems like it has issues (aside from #51), which could potentially miss an item or be delayed. Here is what I am seeing. I put a single item (RTX 2080 that is available) into a config. I started the container and watch the logs, there are many checks that log as not in stock, then it will finally alert as "in stock" much later that I would expect. The subsequent checks reports "not in stock" and it follows this way for several more checks before randomly alerting "in stock" again. For some reason I really suck at python, I really want to help out but I can't follow the code enough to see what's happening.