/firework-rating

This app scrapes products from Pyroland and stores them in a database. The user is then able to inspect the products in detail and to rate them. After rating the user profits from a powerful search engine that enables complex search queries against the database.

Primary LanguageVue

Firework Rating

This app scrapes products from Pyroland and stores them in a database. The user is then able to inspect the products in detail and to rate them. After rating the user profits from a powerful search engine that enables complex search queries against the database.

Installation

  1. Clone this repository.
git clone https://github.com/CR1337/firework-rating.git
  1. cd into the directory.
cd firework-rating
  1. Create virtual environment and activate it.
python3 -m venv .venv
source .venv/bin/activate
  1. Install python dependencies.
pip3 install -r requirements.txt
  1. Install node dependencies.
cd frontend
npm install
cd ..
  1. Install ffmpeg (for the product videos).
apt update
apt install ffmpeg

Usage

  1. Scrape Pyroland to get new products and update already scraped products.
bin/scrape
  1. Create product plots. These show product statistics in comparisons to other products.
bin/create_plots
  1. Download product videos. This enables playback of highest quality videos. An embedded youtube doesn't play on highest quality. Depending on YouTubes rate limiting the download may get stuck some times. Just restart until all videos are downloaded.
bin/download_videos
  1. Start the app.
bin/run
  1. Open the app at http://localhost:5173.