JasperMC / docker-MarktplaatsScraper

Docker container for MarktplaatsScraper: A tool that scrapes Marktplaats, an online marketplace.
0 stars 1 forks source link

selenium error #1

Open TommieNL opened 3 years ago

TommieNL commented 3 years ago

Hi JasperMC,

I'm planning to use your awesome MarktplaatsScraper.

I'm trying to get it to start with your docker deploy. But I'm getting the error below. Do I miss something?

marktplaatsscraper_1  | [services.d] starting services
marktplaatsscraper_1  | [services.d] done.
marktplaatsscraper_1  | Traceback (most recent call last):
marktplaatsscraper_1  |   File "/config/Main.py", line 2, in <module>
marktplaatsscraper_1  |     from Scraper import Scraper
marktplaatsscraper_1  |   File "/config/Scraper.py", line 3, in <module>
marktplaatsscraper_1  |     from selenium import webdriver
marktplaatsscraper_1  | ModuleNotFoundError: No module named 'selenium'
marktplaatsscraper_1  | [cont-finish.d] executing container finish scripts...
marktplaatsscraper_1  | [cont-finish.d] done.
marktplaatsscraper_1  | [s6-finish] waiting for services.
marktplaatsscraper_1  | [s6-finish] sending all processes the TERM signal.
marktplaatsscraper_1  | [s6-finish] sending all processes the KILL signal and exiting.

Greets

JasperMC commented 3 years ago

Hi Tommie!

It seems I left the pip3 install selenium command commented out in one of the scripts. Can you try cloning the repository again? It might work now. Will check on my end as well

JasperMC commented 3 years ago

Just pulled it again and everything seems to be working! I've also merged another user's pull request that adds the required docker files to the main repository. Feel free to use whichever :)

TommieNL commented 3 years ago

Hi Jasper, thnx for the quick reply! I'll try this tomorrow on my docker host

TommieNL commented 3 years ago

Alright! That works, now on to configuring it ;) Many thanks!

JasperMC commented 3 years ago

Good to hear! Let me know if there's anything I can help with. Must admit I didn't expect people to pick this project up and try it out, so maybe there are some gotcha's here and there

TommieNL commented 3 years ago

Well I was thinking about building something like this for a while now. And I stumbled on your solution!

And yeah I have some questions.. probably Pushover related... should i make a new issue on the JasperMC/MarktplaatsScraper repo? Or what works best for you?

JasperMC commented 3 years ago

If you could start one on JasperMC/MarktplaatScraper that would be great. Now that we have a docker setup in there as well this repository may have become a bit obsolete.

See you there!

TommieNL commented 3 years ago

Ok will, this issue can set to solved then 👍