Python/AI Full Website Reconstruction

Job ID: 40328752

Budget: $750 – $1,500 USD

Project Overview
I am looking for a Senior Python/AI Developer to build a professional reconstruction tool that converts any website/URL into 100% native Divi 5 (D5) JSON layouts.
Current benchmarks with basic AI prompts only reach 60% accuracy; this project aims for 99% visual and structural fidelity by leveraging custom mapping logic and Divi 5's new architecture.

Key Deliverables & Workflow
Phase 1: Deep Site Scanner (The Crawler)
The user inputs a domain URL.

The tool must perform a full scan of the website and list all detected pages/URLs.

The user selects a specific page from the list to start the "Reconstruction" process.

Phase 2: Structural Analysis & Slicing
Analyze the selected page’s DOM and visual layout.

Automatically detect and "Slice" the page into: Header, Body Sections, and Footer.

The user must have the option to export the Entire Page or Individual Sections as separate Divi 5 JSON files.

Phase 3: Pluggable AI Engine (Hybrid Strategy)
The "Bridge" System: The tool must have a configuration panel for API Endpoint URL and API Key.

It must support:

Cloud APIs: Google Gemini / OpenAI.

Local APIs: Connection to LM Studio or Ollama running locally on my NVIDIA RTX 5090.

The AI's role is to receive HTML snippets and return valid Divi 5 JSON attributes.

Phase 4: Strict Divi 5 JSON Generation
Output MUST follow the new Divi 5 "Gutenberg-style" syntax.

Requirements: Use `` comments with unique _id values and correct JSON properties inside the post_content string.

No Raw HTML: Mapping must use native Divi 5 module settings (Colors, Padding, Fonts, Flexbox) to ensure the layout is fully editable.

Technical Stack
Language: Python (FastAPI/Flask for backend, PyQt or Streamlit for local UI).

Browser Automation: Playwright or Selenium (Stealth mode).

OS: Windows 11.

Optimization: Must be able to handle local inference calls via RTX 5090 (CUDA).

Budget & Milestones ($1000 Total)
Milestone 1 ($200): Functional Site Crawler (URL Listing & Selection).

Milestone 2 ($400): Core Conversion Engine (Successfully importing a complex Section into Divi 5 at 100% progress).

Milestone 3 ($400): Full UI Implementation, Section Slicing, and Local API Integration.

Note to Freelancers:
I will provide a Reference JSON file (Divi 5 export) that works perfectly. Your code must replicate its structure exactly. Do not apply if you don't understand the difference between Divi 4 shortcodes and Divi 5 "dwb" components.
Related categories: Python Django HTML Git JSON Web Development Flask Selenium API Development FastAPI