Skip to content

Silently scrapes dynamic delivery prices in the background and stores them in an SQLite3 database. Extends already existing libraries. README.md contains a process diagram and sample visualizations.

Notifications You must be signed in to change notification settings

juhotk/pizza-delivery-prices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an upload from 2023.


Pizza Delivery Price Tracker

The tool automates the process of scraping dynamic delivery prices from Kotipizza restaurants and storing the data in an SQLite database. The project leverages the schedule library with custom extensions to allow scheduled jobs to return values and handle exceptions gracefully. The process runs silently in the background and shutsdown once data cannot be fetched anymore when the restaurants close. There is an included data visualizer to create a few example graphs from the sourced data.

Features

  • Automated Silent Data Scraping: Runs in headless mode to collect data in the background while the system is powered on
  • Lightweight Data Storage: Collected data is stored in a local SQLite3 database which enables uncomplicated data processing without servers
  • Extended Scheduler: Custom features that allow the schedule library to return outputs from jobs and handle exceptions

Installation & Usage

  1. Clone the repository:
git clone https://github.com/juhotk/pizza_delivery_prices.git
  1. Install dependencies:
pip install -r requirements.txt
  1. Setup ChromeDriver for Selenium
- Documentation -
ChromeDriver: https://developer.chrome.com/docs/chromedriver
Selenium: https://www.selenium.dev/documentation/

Run main.py to set up the data collection process and run data_visualizer.py to generate graphs after data has been collected.

Sample Visualizations

Process Diagram

About

Silently scrapes dynamic delivery prices in the background and stores them in an SQLite3 database. Extends already existing libraries. README.md contains a process diagram and sample visualizations.

Topics

Resources

Stars

Watchers

Forks

Languages