Allegro Fast Product Scraper avatar
Allegro Fast Product Scraper
Try for free

Pay $0.50 for 1,000 Products

View all Actors
Allegro Fast Product Scraper

Allegro Fast Product Scraper

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

Pay $0.50 for 1,000 Products

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

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-fast-product-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
  • 11 monthly users
  • 1 star
  • 92.8% runs succeeded
  • 3.4 days response time
  • Created in Apr 2024
  • Modified about 2 months ago
Categories