Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohamed-khaled0/jumia-scraping-tool
https://github.com/mohamed-khaled0/jumia-scraping-tool
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mohamed-khaled0/jumia-scraping-tool
- Owner: Mohamed-khaled0
- Created: 2024-12-03T13:27:56.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-03T14:59:19.000Z (about 1 month ago)
- Last Synced: 2024-12-03T15:44:52.398Z (about 1 month ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jumia Scraping Tool
## Overview
This repository contains a Python script designed to scrape product data from specific categories on the Jumia Egypt website. The script extracts product information such as name, price, old price, and discount percentage and saves the data into an Excel file.## Features
- Scrapes all pages of a specific product category.
- Extracts product details:
- **Product Name**
- **Price**
- **Product Link**
- **Product Category**
- **Product Image**
- Saves data into an Excel file.## Prerequisites
- Python 3.x installed on your system.
- Required Python libraries:
- `requests`
- `beautifulsoup4`
- `pandas`
- `openpyxl`Install the required libraries using:
```bash
pip install requests beautifulsoup4 pandas openpyxl
```## Usage
1. Clone the repository or copy the script.
2. Open the script file and set the base URL to the desired Jumia category.
```python
base_url = 'https://www.jumia.com.eg/computing-audio-video-accessories/?page={}' OR Add your url here
```
3. Run the script:
```bash
python script_name.py
```
4. The scraped data will be saved as an Excel file in the specified location:
```
C:/Users/dell/Desktop/audio_video_accessories_jumia.xlsx
```