Skip to content

Instantly share code, notes, and snippets.

@deliriyum
deliriyum / README.md
Last active October 10, 2025 19:06
MMF Bulk Downloader with enhanced error detection and test mode

New Features: ✅ Cookie Validation - Checks for PHPSESSID and cf_clearance before starting ✅ Test Mode - Run with --test flag to verify setup with one file first ✅ HTML Error Detection - Catches "enable Javascript" pages automatically ✅ Consecutive Failure Protection - Stops after 3 failures in a row (systematic error) ✅ Better Error Messages - Shows actual error content and troubleshooting steps ✅ Detailed Cookie Instructions - Step-by-step guide in the script header ✅ Early Exit - Won't download 157 error pages before noticing something's wrong

Key Improvements:

@deliriyum
deliriyum / 1_mmf_download_metadata.sh
Last active October 10, 2025 19:31
MyMiniFactory Model Downloader
#!/bin/bash
# MyMiniFactory Model Metadata Downloader
# Downloads JSON metadata for a list of model IDs from MyMiniFactory API
# This is STEP 1 - run this first to get model metadata, then use the STL downloader
#
# Prerequisites:
# 1. Create model_ids.txt with one model ID per line (no commas, no spaces)
# 2. Valid MyMiniFactory session cookie
# 3. Models must be owned/accessible by your account