Ultimate ALDI Scraper avatar
Ultimate ALDI Scraper
Try for free

1 day trial then $30.00/month - No credit card required now

View all Actors
Ultimate ALDI Scraper

Ultimate ALDI Scraper

eneiromatos/ultimate-aldi-scraper
Try for free

1 day trial then $30.00/month - No credit card required now

This is the ultimate web scraping and tool for extracting the most relevant data points from products on new.aldi.us! Developed by an expert software developer, this powerful scraper is a fast and reliable tool for all your web scraping needs.

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    "productUrls": [
11        "https://new.aldi.us/product/coca-cola-cola-049000050103",
12        "https://new.aldi.us/product/sprite-lemon-lime-soda-049000028928"
13    ],
14    "listingUrls": [
15        "https://new.aldi.us/products/snacks/k/20",
16        "https://new.aldi.us/brands/Coca-Cola"
17    ],
18    "keywords": [
19        "chocolate"
20    ],
21    "startPageNumber": 1,
22    "finalPageNumber": 1,
23    "minPrice": 0,
24    "maxPrice": 0
25};
26
27(async () => {
28    // Run the Actor and wait for it to finish
29    const run = await client.actor("eneiromatos/ultimate-aldi-scraper").call(input);
30
31    // Fetch and print Actor results from the run's dataset (if any)
32    console.log('Results from dataset');
33    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
34    const { items } = await client.dataset(run.defaultDatasetId).listItems();
35    items.forEach((item) => {
36        console.dir(item);
37    });
38})();
39
40// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
  • 1 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in Jan 2024
  • Modified 4 months ago
Categories