/Jumia-Python-Web-Scraper

A simple python webscraper for jumia

Primary LanguagePythonMIT LicenseMIT

License: MIT Contributor Covenant Python 3.7 Build status Coverage Status

Simple Jumia Webscraping Module

The module scrapes the Jumia Kenya website based on user query and dumps the results on a JSON file. The query may be choosing either one of the categories or searching the whole website or even selecting a product to observe for price changes. In all instances the name, the minimum and maximum price value is required to get a rough estimate of the product. User then selects the product to watch by entering it's price. The background script then runs and sends a notification to devices subscribed to the notification channel. the notification contains the link to the webpage of the product.

The motivation for this product came from a friend who bought an electric iron for clothes for 1ksh(0.0099USD). He did this by constantly watching the price for changes. So I thought it'd be cool if a bot actually did that for you.

Requirements

This package requires the following to run:

Installation

First you have to clone the repo by writing the following code

git clone https://github.com/leonkoech/Jumia-Python-Web-Scraper

Change directory to jumia python web scraper cd Jumia-Python-Web-Scraper

Then run setup.py

sudo python setup.py install

Usage

Change directory to scraper. Because that's where the main python file is cd scraper

Then run the python file

python main.py

Contribution

You can contribute to this project. To contribute to this project, clone repo locally and commit your code on a seperate branch. You can find more details in my Contributing guide
You can also reach me via email me or better yet, shoot me a twitter DM.

license

Jumia Python Web Scraper is licensed under MIT license.