+--------------------+ +-------------------+ +-------------------+ | Client (Web/App) | <---> | API Gateway | <---> | Verification | | (Submit ID) | | (REST/GraphQL) | | Service | +--------------------+ +-------------------+ +-------------------+ | v +-------------------+ | Scraper / API | | Adapter Layer | +-------------------+ | v +-------------------+ | Cache (Redis) | +-------------------+
| Requirement | Description | |-------------|-------------| | | A numeric FC2 PPV identifier (e.g., 4408831 ). | | Verification Sources | - Official FC2 PPV page (HTML scraping) - Third‑party indexing APIs (if available) - Community‑maintained whitelist/blacklist | | Outputs | - verified: true/false - Metadata (title, thumbnail URL, upload date, age‑restriction flag) - Timestamp of verification | | Non‑functional | - Low latency (≤ 2 s for most cases) - Rate‑limit handling (FC2 may block aggressive scraping) - Secure handling of user‑provided IDs (prevent injection) | fc2ppv 4408831 verified