GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Releases · foo-git/rewe-discounts

Releases · foo-git/rewe-discounts

Less elegant but working API query

Less elegant but working API query Latest
Latest
@foo-git foo-git released this 25 Feb 20:48
v2.6
e6568fc
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

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.

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Improved error messages

Improved error messages
@foo-git foo-git released this 09 Jun 07:23
v2.5
4a268e3
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

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.

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Update API for postal codes/market ID retrieval

Update API for postal codes/market ID retrieval
@foo-git foo-git released this 26 Mar 11:51
v2.4
42faa55
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

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.

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Upstream API change

Upstream API change
@foo-git foo-git released this 04 Jun 12:33
v2.3
2f7d281

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.

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Bugfix release

Bugfix release
@foo-git foo-git released this 07 Jul 19:06
v2.2
14f8f6e
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

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.

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Bugfix release

Bugfix release
@foo-git foo-git released this 27 May 19:39
v2.1
3d1c601
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Highlights file was not parsed correctly when having blank lines.

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

No more webscraping

No more webscraping
@foo-git foo-git released this 27 May 19:05
v2.0
442def2
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Merge pull request #3 from foo-git/api

Api
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Initial webscraping release

Initial webscraping release
@foo-git foo-git released this 26 May 15:11
v1.0
b4e1a8c
v1.0

More documentation
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.