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

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "startUrls": [
11        "https://allegro.pl/oferta/procesor-intel-i9-12900k-16-x-3-2-ghz-12375564256",
12        "https://allegro.pl/dzial/moda",
13        "https://allegro.pl/kategoria/komputery",
14        "https://allegro.pl/magazyn-allegro",
15        "https://allegro.pl/uzytkownik/www_comtrade_pl"
16    ],
17    "maxProducts": 30,
18    "searchQueries": [
19        "Processor"
20    ],
21    "searchDomains": [
22        "allegro.pl"
23    ]
24};
25
26(async () => {
27    // Run the Actor and wait for it to finish
28    const run = await client.actor("tri_angle/allegro-fast-product-scraper").call(input);
29
30    // Fetch and print Actor results from the run's dataset (if any)
31    console.log('Results from dataset');
32    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
33    const { items } = await client.dataset(run.defaultDatasetId).listItems();
34    items.forEach((item) => {
35        console.dir(item);
36    });
37})();
38
39// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Apify
Actor metrics
  • 4 monthly users
  • 88.6% runs succeeded
  • days response time
  • Created in Apr 2024
  • Modified 24 days ago
Categories