Questcdn Scrapper

Method to Execute the Script:


〣 Docker Method

Install Docker

First, you need to install Docker on your local machine. You can download the appropriate version of Docker for your operating system from the Docker website.

〣 Direct run by pulling image from dockerhub

Run the Docker container by running the following command:

docker run -it jisan09/qcpi-scrapper

〣 Manually Build

Clone the Primenumbers-Tech Repository

  • Open a terminal window on your machine.

  • Clone the Primenumbers-Tech repository by running the following command:

    git clone https://github.com/Jisan09/Primenumbers-Tech
    

Build and Run the Docker Container

  • Navigate to the Primenumbers-Tech directory by running the following command:

    cd Primenumbers-Tech
    
  • Build the Docker container by running the following command:

    docker build -t scrapper .
    
  • Run the Docker container by running the following command:

    docker run -it scrapper
    

〣 Manually Running

  • Clone the Primenumbers-Tech Repository

    • Open a terminal window on your machine.

    • Clone the Primenumbers-Tech repository by running the following command:

      git clone https://github.com/Jisan09/Primenumbers-Tech
      
    • Navigate to the Primenumbers-Tech directory by running the following command:

      cd Primenumbers-Tech
      
  • Download google chrome & chromedriver in your machine

  • Add the path of chrome & chromedriver in scrapper.py replacing None

    CHROME_BIN = os.environ.get("CHROME_BIN", None)
    CHROME_DRIVER = os.environ.get("CHROME_DRIVER", None)

  • Install pip requirement

    pip3 install -r requirements.txt
    
  • Run the Script

    python3 scrapper.py