So, the ALDI SÜD scraper for Germany is almost done, but it currently only supports one category. If we look at https://www.aldi-sued.de/de/homepage.html however, they'd have a lot more.
The process of getting the hidden API
- Go to https://www.aldi-sued.de/de/homepage.html
- Select "Produkte", then "Produktsortiment", as shown in the picture.

- Select a category
- Press F12 to open your webbrowser's dev console. On Microsoft Edge, it may or may not open depending on your settings.
- Click on "Network", then on "Fetch/XHR" if you're using Chrome, Chromium or Edge. On Firefox, click on "Network", then on "XHR".


- Scroll down until you find the "Mehr anzeigen" button and click on that.
- Congratulations. You found the hidden API!

Using the API
- Open the ALDI SÜD scraper file.
- Add a new function for your category. You can use the first one as a template and update the variables.
- Add the function to the
scrapeStarter() function.
- Test it and see its magic.
So, the ALDI SÜD scraper for Germany is almost done, but it currently only supports one category. If we look at https://www.aldi-sued.de/de/homepage.html however, they'd have a lot more.
The process of getting the hidden API
Using the API
scrapeStarter()function.