Cube Scraper is a collection of small Python utilities for helping building and maintaining a cube product index.
- Python 3.9 or newer
- Supabase project credentials
Install dependencies with:
pip install -r requirements.txt
Copy .env.example to .env.local and fill in your credentials:
SUPABASE_URL=<https://your-project.supabase.co>
SUPABASE_SERVICE_KEY=<service-role-key>
src/ # scraping and data-import scripts
python src/cubescraper/price_tracker/main.py [--commit]refreshes vendor link price and availability.
The older Shopify scraping pipeline is no longer maintained but remains in the repo:
src/cubescraper/deprecated/scrap_cubes_from_stores/fetch_stores_products.py(download raw store product JSON)src/cubescraper/deprecated/scrap_cubes_from_stores/add_cubes_to_database.py(normalize and upsert products)
This project is available under the Apache 2.0 License. See LICENSE for details.