← Back to Wiki

Construction & Business

Advertising Intelligence

This page defines a repeatable workflow for pulling a company profile from public web data with high-signal prompt engineering. It is designed for Lupo's platform build and supports targets like completetrailersco.com.

Scope

What this extracts

Live tester

Run extraction from this page

Drag and drop a website URL into the box below, or paste a URL and press Enter. This calls /api/advertising-intelligence and returns profile JSON that you can publish or download.

Drop a website URL here (or paste into the field)
Ready.
Run a website to generate a readable company profile summary.

Meeting notes

Build history

Downloadables

Files in this wiki folder

Quick Start

Run locally

python3 -m pip install requests beautifulsoup4
export LLM_API_KEY="your_key_here"
export LLM_MODEL="gpt-4.1-mini"
python3 company_profile_extractor.py "https://www.completetrailersco.com/" --output complete-trailers-profile.json

The script crawls key public pages on the same domain (home, about, services, products, contact), then prompts the model to return strict JSON with evidence and confidence notes.

API configuration

Environment variables

Output format

JSON keys