Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Find Social Media Profiles by Username with Python

Описание и применение

Автоматизированный пайплайн на Python использует Apify Social Media Finder для поиска активных профилей по имени пользователя, обрабатывает асинхронные запросы, фильтрует несуществующие записи и сохраняет результаты в SQLite.

Задача

Engineering teams need to map a single handle across dozens of third‑party networks for lead scoring, brand verification, or fraud prevention, but maintaining 400+ scrapers is operationally unsustainable.

Результат

The pipeline reliably discovers active social media profiles for a list of usernames across selected platforms, handles timeouts by using asynchronous runs, and stores clean results in SQLite for downstream analytics.

Рабочий процесс

  • 1. Build JSON payload with "queries", optional "platforms", and "maxResults". 2. POST to /v2/acts/{actorId}/runs?maxTotalChargeUsd=2.0 to start an async run. 3. Capture runId and datasetId from the response. 4. Poll /v2/actor-runs/{runId} until status is "SUCCEEDED". 5. Stream dataset items via /v2/datasets/{datasetId}/items with pagination. 6. Filter items where status is "Not Found". 7. Insert remaining items into SQLite for downstream use.

Доказательства

Writing and maintaining 400 distinct scrapers internally is an operational sinkhole.

Источник

The synchronous run endpoint returns HTTP 408 because execution exceeded the 300-second hard gateway timeout.

Источник

  • Дата записи: 2026-09-15T14:01:39.236Z