Here are the step-by-step instructions to run your Carousell scraping program:
-
Git Clone:
- Open the terminal or command prompt.
- Clone the repository locally:
git clone https://github.com/kerb0y/Carousell-scraper
-
Navigate Directory:
- Navigate to the repository directory:
cd Carousell-scraper
- Navigate to the repository directory:
-
Download and Prepare ChromeDriver:
- Visit the ChromeDriver Download Page and download the ChromeDriver version compatible with your Chrome browser.
- Extract the ChromeDriver file into the repository directory.
-
Run the Program:
- Execute the program using Python:
python main.py
- Follow the prompts to input the product information, minimum price, and the desired number of listings.
- Execute the program using Python:
-
Check the Results:
- After the program completes, the scraping results will be saved in a CSV file with a timestamp in its name.
-
Open the CSV:
- If you want to open the CSV file with Excel, run the following command in the terminal or command prompt:
start excel filename.csv
- If you want to open the CSV file with Excel, run the following command in the terminal or command prompt:
By following these steps, you should be able to easily run your Carousell scraping program.