/unistud-image-db

Uni's DB image scraper

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

unistud-image-db

Overview

A mini script to retrieve and display images from the university's (iykyk) database on a webpage. The valid input range for the API is currently unknown, so you can choose any range between 1 and 100,000. Hopefully, that should cover it ;)

Usage

  1. Clone this repository to your local machine.
git clone https://github.com/BugReportOnWeb/unistud-image-db.git
cd unistud-image-db
  1. Install the dependencies
pip3 install -r requirements.txt
  1. Change the START and END values in main.py.
START = 53675  # Replace with your starting range value
END = 53725    # Replace with your ending range value
  1. Run the script.
python3 main.py

The script will start scraping the data (if found) between the specified range.

  1. Open the index.html file to see the result.
open index.html

Dependencies

What's next?

To be honest, I'm not sure. Perhaps find a valid range for the current batch and fix the values accordingly, having it all on a server.