Allegro Product Detail Scraper avatar
Allegro Product Detail Scraper
Try for free

Pay $2.50 for 1,000 Products

View all Actors
Allegro Product Detail Scraper

Allegro Product Detail Scraper

tri_angle/allegro-product-detail-scraper
Try for free

Pay $2.50 for 1,000 Products

Allegro Scraper allows you to scrape data from allegro.pl, allegro.cz and allegro.sk, one of the most popular online shopping platforms in Europe and the largest e-commerce platform of European origin.

Do you want to learn more about this Actor?

Get a demo

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "startUrls": [
9        "https://allegro.pl/oferta/procesor-intel-i9-12900k-16-x-3-2-ghz-12375564256",
10        "https://allegro.pl/dzial/moda",
11        "https://allegro.pl/kategoria/komputery",
12        "https://allegro.pl/magazyn-allegro",
13        "https://allegro.pl/uzytkownik/www_comtrade_pl",
14    ],
15    "maxProducts": 30,
16    "searchQueries": ["Processor"],
17    "searchDomains": ["allegro.pl"],
18}
19
20# Run the Actor and wait for it to finish
21run = client.actor("tri_angle/allegro-product-detail-scraper").call(run_input=run_input)
22
23# Fetch and print Actor results from the run's dataset (if there are any)
24print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
25for item in client.dataset(run["defaultDatasetId"]).iterate_items():
26    print(item)
27
28# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Apify
Actor metrics
  • 13 monthly users
  • 4 stars
  • 99.7% runs succeeded
  • 1.6 days response time
  • Created in Apr 2024
  • Modified 3 months ago
Categories