Skip to content

This is a Python project that enables users to upload a CSV file with sneaker SKU or URL and size. The program downloads a sneaker image using web scraping from restocks.net and adds its size. Users can then create a customizable collage of all the saved images.

License

Notifications You must be signed in to change notification settings

jargyl/Sneaker-Collage-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sneaker Collage Generator

A python project that allows users to upload a CSV file containing either the SKU or a URL of a sneaker along with its size. The program then downloads an image of the sneaker using web scraping (restocks.net) and adds its size to the image. The user can then create a collage of all the saved images with a customizable sizing.

Installation

  1. Clone the repository:
git clone https://github.com/jargyl/Sneaker-Collage-Generator.git
  1. Install the required dependencies:
pip install -r requirements.txt

Usage

  1. Upload a CSV file containing the SKU or a URL of a sneaker and its size. Here's an example of how the CSV file should look:
SKU, Size
DD1391-601, 46
https://restocks.net/nl/p/nike-dunk-low-retro-white-black-gs, 42.5
  1. Run the program:
python main.py

You can now choose between 2 modules;

  1. SCRAPE for scraping the product images based on the csv-file. Product pictures with sizing will be saved in 'collage/images/'. Products names that are found or not found will be saved in 'collage/product_found.txt' & 'collage/product_not_found.txt'

  2. COLLAGE for making collages based on the pictures generated with the SCRAPE module. Collages will be saved in 'collage/'

Example

Collage

License

This project is licensed under the MIT License. See the MIT License file for more information.

About

This is a Python project that enables users to upload a CSV file with sneaker SKU or URL and size. The program downloads a sneaker image using web scraping from restocks.net and adds its size. Users can then create a customizable collage of all the saved images.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages