How to Scrape Vinted Listings with Python
说明与用途
Python脚本使用Apify Actor抓取Vinted Spain列表,19.2秒返回结构化JSON。
问题
Manually searching Vinted catalog and copying listings into a spreadsheet is slow and repetitive, and each search result page shows up to 96 items.
结果
The benchmark run with searchQueries:["nike"], conditions:["Muy bueno","Bueno"], minPrice:10, maxPrice:40, sortBy:"relevance", requireKeywordMatch:true, maxItems:200 finished in 19.2 seconds and returned 200 items.
工作流
- Install Python 3.11+ and the Apify API client with
pip install apify-client - Create an Apify account and copy your API token
- Write a Python script that imports ApifyClient, sets run_input with searchQueries, conditions, minPrice, maxPrice, sortBy, requireKeywordMatch, and maxItems
- Call the actor
reventadata/vinted-scraperwith the run_input - Iterate over the returned dataset items and print or process the JSON fields
证据
By the end of this tutorial, you will have a Python script that pulls second‑hand fashion listings from Vinted Spain (vinted.es) into structured JSON: title, item asking price, buyer protection service fee, total price in EUR, brand, item condition, size, photo URL, favourite count, and seller type.
Our benchmark run (configured with searchQueries: ["nike"], conditions: ["Muy bueno", "Bueno"], minPrice: 10, maxPrice: 40, sortBy: "relevance", requireKeywordMatch: true, and maxItems: 200) finished in 19.2 seconds and returned 200 items.
The scraper extracts item records directly from the server‑rendered catalog pages, so individual listing pages do not need to be opened separately.
- 记录日期: 2026-10-24T08:26:13.832Z