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

How to Scrape Kleinanzeigen Listings with Python

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

Скрипт на Python запускает Apify‑Actor для сбора объявлений о продаже телефонов с сайта Kleinanzeigen.de, возвращая структурированные JSON‑записи за 9,3 секунды.

Задача

Collecting used‑phone ads from Kleinanzeigen.de manually is slow and limited to 25 ads per page.

Результат

The benchmark run with the given parameters finished in 9.3 seconds and returned 60 ads.

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

  • Install Python 3.11+ and the Apify API client with pip install apify-client
  • Create a free Apify account and obtain an API token
  • Write a Python script that creates an ApifyClient, defines run_input with search parameters (e.g., searchQueries: ["iphone 13"], sellers: "private", shippingOnly: true, maxItems: 60, maxPages: 4), and calls the actor reventadata/kleinanzeigen-scraper
  • Iterate over the actor’s default dataset and print or store each item’s fields
  • Export the dataset from Apify Console as JSON, CSV or Excel if needed

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

Our benchmark run (configured with searchQueries: ["iphone 13"], sellers: "private", shippingOnly: true, maxItems: 60 and maxPages: 4) finished in 9.3 seconds and returned 60 ads.

Источник

The default run reads the public search result cards only. The seller fields (sellerName, sellerKind, sellerSince and a few others) stay null unless you turn on fetchDetails.

Источник

The Actor has more switches than the example uses: ... sellers: "private" means "no PRO badge".

Источник

  • Дата записи: 2026-10-23T21:26:07.901Z