Beagle Boys (Skroutz Scraper)

3 days trial then $30.00/month - No credit card required now

Beagle Boys (Skroutz Scraper)

Beagle Boys (Skroutz Scraper)

scrabber/beagle-boys

3 days trial then $30.00/month - No credit card required now

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 mode

import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with API token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://www.skroutz.gr/s/40208718/Lenovo-V15-G2-ALC-15-6-FHD-Ryzen-3-5300U-8GB-256GB-SSD-W11-Home-Black-US-Keyboard.html",
        "https://www.skroutz.gr/s/38571219/Lenovo-IdeaPad-3-17IAU7-17-3-IPS-FHD-i5-1235U-8GB-512GB-SSD-W11-S-Arctic-Grey-GR-Keyboard.html",
        "https://www.skroutz.gr/s/36923496/Huawei-MateBook-D16-16-IPS-FHD-i7-12700H-16GB-512GB-SSD-W11-Home-US-Keyboard.html",
        "https://www.skroutz.gr/s/37725758/Lenovo-IdeaPad-3-15ALC6-15-6-IPS-FHD-Ryzen-5-5500U-8GB-512GB-SSD-W11-Home-Arctic-Grey-US-Keyboard.html",
        "https://www.skroutz.gr/s/37214807/HP-Victus-15-fb0007nv-15-6-FHD-Ryzen-5-5600H-8GB-512GB-SSD-GeForce-GTX-1650-W11-Home-GR-Keyboard.html",
        "https://www.skroutz.gr/s/42302804/Asus-Vivobook-Go-15-E1504FA-BQ521W-15-6-FHD-Ryzen-5-7520U-16GB-512GB-SSD-W11-Home-Green-Grey-GR-Keyboard.html",
        "https://www.skroutz.gr/s/38735377/Lenovo-IdeaPad-3-15IAU7-15-6-IPS-FHD-i7-1255U-16GB-512GB-SSD-W11-S-Arctic-Grey-GR-Keyboard.html",
        "https://www.skroutz.gr/s/39217438/Lenovo-IdeaPad-3-15ITL6-15-6-FHD-i3-1115G4-12GB-512GB-SSD-No-OS-Arctic-Grey-US-Keyboard.html"
    ]
};

(async () => {
    // Run the Actor and wait for it to finish
    const run = await client.actor("scrabber/beagle-boys").call(input);

    // Fetch and print Actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {
        console.dir(item);
    });
})();
Developer
Maintained by Community
Actor stats
  • 3 users
  • 384 runs
  • Modified 2 months ago

You might also like these Actors