bartmachielsen / SupermarktConnector

Collecting product information from Dutch supermarkets: Albert Heijn and Jumbo using the Mobile API
http://www.bartmachielsen.nl
MIT License
123 stars 22 forks source link

No result #17

Open josvink66 opened 2 years ago

josvink66 commented 2 years ago

Hi,

Is this code still working for Albert Heijn? I've installed the package and run the code. But I get no result, no error just nothing. The code I've used as test:

from supermarktconnector.ah import AHConnector connector = AHConnector() connector.get_categories()

Any help would be appreciated. Greetings, Jos

bkiers commented 2 years ago

@josvink66 nope, alas, it used to work but since a couple of weeks, AH changed some things and this Python library no longer works.

rogierrijs commented 2 years ago

It still works great. Only thing i needed to do, is change the jumbo API to v14 for now.

lee-msr commented 1 year ago

@rogierrijs

How did you do it?

gewoondemax commented 7 months ago

@rogierrijs same question from my side ... how to do? get the scraper to work? I am totally blind in python land, help is much appreciated max

rogierrijs commented 7 months ago

Hey, in the code, an url is used, which holds the version.. like /v12/ or something. You should change that to the one that works.

Edit, just checked, that is for Jumbo. Not AH.

To be honest, havent used this in a long time, so maybe something else broke.