A Python scraper for collecting car listings from Otomoto.pl using ScrapingAnt API.
- Scrape car listings by make and/or model
- Pagination support (32 listings per page)
- Export to CSV or JSON
- Automatic deduplication
- Data fields: title, make, model, price, year, mileage, fuel type, transmission, engine size, power, location
pip install -r requirements.txt# Scrape all car listings (1 page)
python main.py --api-key YOUR_SCRAPINGANT_KEY
# Scrape Volkswagen listings (1 page)
python main.py volkswagen --api-key YOUR_SCRAPINGANT_KEY
# Scrape Volkswagen Golf listings (3 pages)
python main.py volkswagen golf -p 3 --api-key YOUR_SCRAPINGANT_KEY
# Scrape all BMW listings (2 pages) in JSON format
python main.py bmw -p 2 -f json --api-key YOUR_SCRAPINGANT_KEY
# Using environment variable
export SCRAPINGANT_API_KEY=your_key
python main.py audi a3 -p 2| Field | Description |
|---|---|
| title | Full listing title |
| make | Car manufacturer (Volkswagen, BMW, etc.) |
| model | Car model (Golf, Passat, etc.) |
| price | Price in PLN |
| year | Year of manufacture |
| mileage | Kilometers driven |
| fuel_type | Benzyna, Diesel, Elektryczny, Hybryda, LPG, etc. |
| transmission | Manualna or Automatyczna |
| body_type | SUV, Sedan, Hatchback, Kombi, etc. |
| engine_size | Engine displacement (e.g., 1997 cm3) |
| power | Power output (e.g., 150 KM) |
| color | Car color |
| location | City and region |
| listing_id | Unique listing identifier |
| detail_url | Full URL to listing |
| image_url | Main image URL |
| scraped_at | Timestamp of scraping |
Otomoto.pl is Poland's largest automotive marketplace with over 200,000 car listings from both private sellers and dealers across Poland. It offers detailed vehicle information including mileage, service history, and comprehensive vehicle specifications.
This scraper uses ScrapingAnt for web scraping with browser rendering.
Get your free API key at: https://app.scrapingant.com/signup
Note: The free plan has concurrency limited to 1 thread.
MIT