https://github.com/akunna1/django-web-scraper
A web app build with Python's Django, that scraps through the products on Nigeria's Jumia online store
https://github.com/akunna1/django-web-scraper
backend beautifulsoup4 css django frontend html python requests-library-python web-scraping webapp
Last synced: about 2 months ago
JSON representation
A web app build with Python's Django, that scraps through the products on Nigeria's Jumia online store
- Host: GitHub
- URL: https://github.com/akunna1/django-web-scraper
- Owner: akunna1
- Created: 2024-08-01T21:35:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T23:22:01.000Z (almost 2 years ago)
- Last Synced: 2025-01-31T22:07:21.806Z (over 1 year ago)
- Topics: backend, beautifulsoup4, css, django, frontend, html, python, requests-library-python, web-scraping, webapp
- Language: Python
- Homepage: https://akunnatechstudio.com/scraping
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django-Web-Scraping
A web application built with **Python's Django** framework that scrapes product listings from **Jumia Nigeria** 🛍️, one of the country’s largest online retailers.
---
## Project Overview
This Django-based scraper is designed to navigate and extract product data—such as names, prices, and descriptions—from **Jumia Nigeria’s** website, making it easy to analyze or reuse the data within a structured web app.
---
## ⚙️ Setup Instructions
Follow these steps to get the project running locally using **VS Code**:
```bash
# Navigate to your desired directory
cd C:\Users\akunna1\Desktop\django_project
# Set up a virtual environment
pip install virtualenv
python -m venv venv
venv\Scripts\activate
# Install Django
pip install django
# Start Django project
django-admin startproject project1
cd project1
# Create a Django app
python manage.py startapp app1
# Add 'app1' to INSTALLED_APPS in project1/settings.py
# Run the server
python manage.py runserver
```
---
## Django File Structure Notes
* `models.py`: Defines database schema
* `views.py`: Handles logic and web scraping requests
* `tests.py`: For writing unit tests
* `urls.py`: (Add if not present) Connects views to URLs
---
## Features
* Scrapes product names, prices, and links from **Jumia Nigeria**
* Display scraped results in a clean web interface
* Built with scalable Django architecture