graph TD
A[Start: Receive listing URL] --> B{Check Domain}
B -->|Amazon| C[Use Amazon API Extractor]
B -->|Other| D[Use General URL Extractor]
C --> E[Extract Title]
C --> F[Extract Bullet Points]
C --> G[Extract Description]
C --> H[Extract Main Image URL]
D --> I[Extract Title]
D --> J[Extract Bullet Points]
D --> K[Extract Description]
D --> L[Extract Main Image URL]
E & F & G & H --> M[Format Amazon Data]
I & J & K & L --> N[Format Other Data]
M --> O[Create JSON Structure]
N --> O
O --> P[Validate Data Format]
P -->|Valid| Q[Return Structured Data]
P -->|Invalid| R[Error Handling]
R --> A
Q --> S[End: Output extracted-listing-data]