Features: - Automated login and PDF download from Bygma - GPT-4o AI analysis of installation manuals - Extracts: steps, time estimates, tools, safety, materials, skill level - Direct database storage (installation_manuals table) - Auto-cleanup: deletes PDFs after analysis to save space - Node.js integration for quote generation New files: - scrape_and_analyze_bygma.py - Main automated scraper - scrape_bygma_with_login.py - Simple download script - analyze_manual_pdfs.py - Standalone PDF analyzer - get_installation_tasks.js - Node.js quote integration - demo_tilbud_opgave.js - Working demo - BYGMA_AUTOMATION_README.md - Complete documentation Database: - installation_manuals table with JSON fields - Sample data: 1 manual analyzed (Cembrit Bølgeplader) Integration: - getInstallationTask(productName, quantity) function - Returns formatted task descriptions for quotes - Time calculations: 2.5 hours/m² example Cleanup: - Removed old test scripts and debug files - Removed downloaded PDFs (saved to database) - Organized documentation files
9 lines
226 B
JSON
9 lines
226 B
JSON
{
|
|
"last_sync": "2025-10-20T10:02:58+00:00",
|
|
"status": "success",
|
|
"duration_seconds": 176,
|
|
"total_records": 68523,
|
|
"active_employees": 19,
|
|
"calendar_entries_next_7_days": 4
|
|
}
|