Skip to content

Khang5687/homedepot_vendor_image_upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Depot Vendor Image Uploader

Synthesized version of a real client's script for automating image uploads on Home Depot Vendor Portal

Features

  • Batch Processing: Uploads images for thousands of products automatically.
  • Smart Resume: If interrupted. Run the script again, and it picks up exactly where it left off.
  • Error Tracking: Generates a detailed Excel report of any failed uploads.

Configuration

  • Create a password.txt file in the root directory containing your portal password (optional, for auto-login). You can login manually once the login prompt appears on the ChromeDriver instance, and the script will continue as normal.

Requirements

  • Python 3.10+
  • Google Chrome installed

Installation

  1. Install dependencies:
    pip install -r requirements.txt

Usage

  1. Prepare your Excel file: Must contain columns * ID (OMSID) and UPC.
  2. Prepare your Images: Place images in a folder, named as <UPC>.jpg.
  3. Run the script:
python main.py path/to/products.xlsx path/to/input_images_folder/

Options

  • --debug: Show detailed logs.
  • -r [N]: Resume from checkpoint (rewind N items, default 1).
# Example: Resume processing
python main.py products.xlsx ./images -r

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages