Skip to content

Releases: foo-git/rewe-discounts

Less elegant but working API query

25 Feb 20:48
e6568fc
Compare
Choose a tag to compare

The API, which yielded all the discounts with only one query, seems to be not working anymore (Error 500 using Firefox in manual browsing mode). Luckily, a contributor found another API query which yields the product IDs, and another query to get the respective details like pricing and names. It's not as fast as before, but at least it works.
Also, the cloudscraper version pinning is not relevant anymore.

Right now, the script tries to access the "old" API and falls back to the "new" API. The output file in that case looks different, as the category names are different in the API result.

Fixes #14 and #17.

Improved error messages

09 Jun 07:23
4a268e3
Compare
Choose a tag to compare

The only change in this release is an improvement of displaying error messages and tracebacks due to hunting the 403 bug, see #14. It does not change the program output. Upgrading is therefore not necessary. However, it makes debugging easier for me in the future.

Also, it looks like pinning the dependency cloudscraper to version 1.2.69 fixes the 403 bug, see #14.

Update API for postal codes/market ID retrieval

26 Mar 11:51
42faa55
Compare
Choose a tag to compare

This release fixes an upstream API change which broke the market ID retrieval, see #10.
Discount retrieval with already known market IDs was not affected.

Upstream API change

04 Jun 12:33
Compare
Choose a tag to compare

The previous Rewe API url seems to be broken (see #8), so this release uses a new Rewe API url, but the underlying data structure is different. This results in a somewhat different Markdown output.

Bugfix release

07 Jul 19:06
14f8f6e
Compare
Choose a tag to compare

Apparently REWE market IDs with seven digits exist, and therefore the internal limit of six digits had to be incremented. Props to @oliverwehrens for the contribution.

This makes the script usable in certain PLZ/postal code regios where REWE markets have 7-digit IDs. Other regions are not affected.

Bugfix release

27 May 19:39
3d1c601
Compare
Choose a tag to compare

Highlights file was not parsed correctly when having blank lines.

No more webscraping

27 May 19:05
442def2
Compare
Choose a tag to compare
Merge pull request #3 from foo-git/api

Api

Initial webscraping release

26 May 15:11
Compare
Choose a tag to compare
v1.0

More documentation