badlogic / heissepreise

Jo eh.
MIT License
955 stars 114 forks source link

Update to new billa.at online store #164

Open devmbm opened 11 months ago

devmbm commented 11 months ago

Billa.at was updated sometime last week (KW41) which has caused all price tracking and links to be broken. Unique URLs in the new store no longer match the previous one.

flobauer commented 11 months ago

Hey, do we know the exact changes?

As I see billa:

any other thoughts?

flobauer commented 11 months ago

I would probably go through the alphabet and do searches for each letter and map the products by ID to have a final list in the end. Maybe for the more common letters I would search for more than 1000 entries via pagination.

devmbm commented 11 months ago

I cannot say, sorry, I am not a developer myself. But my observation is that items seem to be named the same as before.

flobauer commented 11 months ago

Category Search: https://shop.billa.at/api/categories/search/e?storeId=00-10

Product Search: https://shop.billa.at/api/products/search/e?storeId=00-10

The billa products where taken from the product list itself I think, the search per category could also work:

Category search can be done via category slug provided in the category search result: api/categories/[slug]/products

Example: https://shop.billa.at/api/categories/aepfel-birnen-und-trauben-13753/products?page=0&sortBy=relevance&pageSize=24&storeId=00-10

flobauer commented 11 months ago

I do some experiments in https://github.com/badlogic/heissepreise/pull/165