Beagle Boys (Skroutz Scraper) avatar
Beagle Boys (Skroutz Scraper)
Try for free

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

View all Actors
Beagle Boys (Skroutz Scraper)

Beagle Boys (Skroutz Scraper)

scrabber/beagle-boys
Try for free

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 more

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    "urls": [
11        "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",
12        "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",
13        "https://www.skroutz.gr/s/36923496/Huawei-MateBook-D16-16-IPS-FHD-i7-12700H-16GB-512GB-SSD-W11-Home-US-Keyboard.html",
14        "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",
15        "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",
16        "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",
17        "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",
18        "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"
19    ]
20};
21
22(async () => {
23    // Run the Actor and wait for it to finish
24    const run = await client.actor("scrabber/beagle-boys").call(input);
25
26    // Fetch and print Actor results from the run's dataset (if any)
27    console.log('Results from dataset');
28    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
29    const { items } = await client.dataset(run.defaultDatasetId).listItems();
30    items.forEach((item) => {
31        console.dir(item);
32    });
33})();
34
35// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
  • 1 monthly user
  • 1 star
  • 100.0% runs succeeded
  • Created in Sep 2023
  • Modified 10 months ago