Closed liminalpepe closed 1 year ago
Never mind, forgot to install chrome or firefox (default) LOL
here is the updated Dockerfile for chrome in case anybody else need
# Use the official Python 3.9.16 image as the base image
FROM python:3.9.16
# Install Chrome and necessary dependencies
RUN apt-get update && apt-get install -y wget gnupg2
RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
RUN apt-get update && apt-get install -y google-chrome-stable
# Install the necessary Python libraries
RUN pip install twitter-scraper-selenium
# Set up the shared volume
VOLUME ["/app"]
# Set the default command to run your script
CMD [ "python", "scrapper.py" ]
Thanks!
Hi there team, Thanks for this amazing lib, used it a few times already and had no problem but today trying to make it work again and got stuck on a gecko driver error.
I created a docker to have a fresh install and make sure it's not my setup, I use it on a Macos and have the same error
Here are the files and how to reproduce
Dockerfile
scrapper.py
To run, after having docker installed and setup do:
The bellow error happens on docker run and couldn't find anything useful on the internet to help me fix. Can you help me understand what is happening? It's seems to be with the geckodriver, not exactly with the twitter-scapper-selenium but I'm not sure where else to look
Full logs bellow
Appreciate any help