Skip to content

This is a Python script built for scraping product data from Daraz.pk using Selenium with Chrome WebDriver in headless mode. Features Log in to Daraz account Search for products Scrapes product data including title, rating, price, and reviews (if available) Saves the scraped data into a CSV file

Notifications You must be signed in to change notification settings

talha828/Daraz-Product-Scaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daraz Product Scraper

0622341446411c3

Overview

This is a Python script built for scraping product data from Daraz.pk using Selenium with Chrome WebDriver in headless mode.

Features

  • Log in to Daraz account
  • Search for products
  • Scrapes product data including title, rating, price, and reviews (if available)
  • Saves the scraped data into a CSV file

Requirements

  • Python 3.x
  • Selenium
  • Chrome WebDriver
  • webdriver-manager
  • csv

You can install the required packages using the following command:

pip install selenium webdriver-manager

Usage

  1. Clone this repository:
    git clone https://github.com/your_username/daraz-product-scraper.git
  2. Navigate to the project directory:
    cd daraz-product-scraper
  3. Install dependencies:
    cd daraz-product-scraper
  4. Set up your Daraz account credentials and search keyword in the config.py file.
  5. Run the script:
    python scraper.py

Configuration

You need to configure the following variables in the config.py file:

  • email: Your Daraz account email or phone number
  • password: Your Daraz account password
  • search_Keyword: The keyword you want to search for on Dar

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

This is a Python script built for scraping product data from Daraz.pk using Selenium with Chrome WebDriver in headless mode. Features Log in to Daraz account Search for products Scrapes product data including title, rating, price, and reviews (if available) Saves the scraped data into a CSV file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages