Skroutz.gr Product Scraper v2 avatar

Skroutz.gr Product Scraper v2

Pricing

from $70.00 / 1,000 product scrapeds

Go to Apify Store
Skroutz.gr Product Scraper v2

Skroutz.gr Product Scraper v2

Scrapes products from Skroutz.gr search/category pages via Playwright, captures the variations.json XHR payload, follows pagination, deduplicates products, and computes per-search-query price statistics. Pay-per-event: $0.005 per scraped product.

Pricing

from $70.00 / 1,000 product scrapeds

Rating

0.0

(0)

Developer

mpelas

mpelas

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

Skroutz.gr Product Scraper v2 (Apify Actor, Python + Crawlee/Playwright)

Enhanced version of mpelas-myactor-Skroutz. Scrapes product listings from Skroutz.gr search and category pages.

How it works

  1. Opens each start URL in a headless Chromium (Playwright) with stealth flags, Greek locale/timezone and realistic headers.
  2. Dismisses the cookie banner, scrolls to trigger the lazy variations.json XHR, and captures it via a response listener.
  3. Fallbacks if the XHR is not captured: an in-page fetch() of /s/variations.json?sku_ids=... using SKU ids read from the DOM, then direct DOM extraction of product cards.
  4. Deduplicates products by sku_id across all pages, follows pagination (?page=N) up to max_pages_per_url, and pushes each product to the dataset.
  5. After the crawl, computes per-search-query statistics (count, min, max, mean, median, std dev, cheapest and best-rated product) and stores them in the key-value store as category_statistics, plus a run_summary record.

Input

{
"start_urls": [{"url": "https://www.skroutz.gr/search?keyphrase=lenovo+laptop"}],
"max_requests_per_crawl": 20,
"max_pages_per_url": 1,
"max_concurrency": 2,
"request_timeout_seconds": 60,
"max_retries": 3,
"proxy_configuration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]},
"save_debug_screenshots": false
}
FieldDefaultDescription
start_urls(required)Skroutz search/category URLs
max_requests_per_crawl20Total page limit across all URLs
max_pages_per_url1Pagination depth per start URL
max_concurrency2Parallel browser pages (1-5)
request_timeout_seconds60Navigation/handler timeout
max_retries3Retries per failed page
proxy_configurationoffApify Proxy / custom proxies (recommended for Skroutz)
save_debug_screenshotsfalseSave PNGs to KVS debug/ on failures

Output

  • Dataset (view overview): one item per product — sku_id, name, price, price_eur, currency, url, image_url, variation_image, variation_color, follow, rating, rating_count, search_query, page_type, page_number, page_url, page_title, scraped_at.
  • Key-value store: category_statistics (per-query stats), run_summary (run metadata), debug/ screenshots if enabled.

Pricing (pay per event)

The Actor uses Apify's pay-per-event model:

EventPrice
product_scraped (primary)$0.005 FREE tier, $0.004 BRONZE, $0.003 SILVER, $0.0025 GOLD per product
apify-actor-start$0.02 per run
apify-default-dataset-item$0 (results are billed via product_scraped)

Each pushed product is charged in code via Actor.push_data(..., charged_event_name='product_scraped').

Run locally

pip install -r requirements.txt
playwright install chromium
apify run

Deploy

apify login
apify push

Or link this Git repository (branch v2) in the Apify Console.

Tests

Offline unit tests for the parsing/statistics helpers (no Apify needed):

$python -m unittest discover -s tests -v