Skip to content
This repository has been archived by the owner on Sep 30, 2019. It is now read-only.

No meals found #25

Open
rene-schoene opened this issue Jan 29, 2019 · 1 comment
Open

No meals found #25

rene-schoene opened this issue Jan 29, 2019 · 1 comment

Comments

@rene-schoene
Copy link

Currently, no meals are found, e.g., when using the /meals endpoint. It seems, that somewhen, the layout of the website of Studentenwerk was updated and this change has not been reflected here since.
Is there anything planned for updating this repo, or is there another more recent project?

The logs of a freshly created container using docker-compose tell the following when GETting /meals:

emeal_1  | The current hash key "0000000000000000" is not secure.
emeal_1  | Update hash.key in Config/crypto.json before using in production.
emeal_1  | Use `openssl rand -base64 <length>` to generate a random string.
emeal_1  | The current cipher key "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" is not secure.
emeal_1  | Update cipher.key in Config/crypto.json before using in production.
emeal_1  | Use `openssl rand -base64 32` to generate a random string.
emeal_1  | Production mode enabled, disabling informational logs.
emeal_1  | Database prepared
emeal_1  | Starting server on 0.0.0.0:8080
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w0-d1.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w0-d2.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w0-d3.html
emeal_1  | [Abort request error: Not Found] [Identifier: Vapor.Abort.notFound]
emeal_1  | [Abort request error: Not Found] [Identifier: Vapor.Abort.notFound]
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w0-d4.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w0-d5.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w0-d6.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w0-d0.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w1-d1.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w1-d2.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w1-d3.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w1-d4.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w1-d5.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w1-d6.html
emeal_1  | Failed to read menu date at https://www.studentenwerk-dresden.de/mensen/speiseplan/w1-d0.html
@kiliankoe
Copy link
Owner

Sorry for the late answer. Unfortunately, as you noticed, the StuWe has updated their site breaking the scraper. It was always going to be brittle 😕

Unfortunately I cannot work on this at the moment for legal reasons and am unsure about the availability of replacements. I would love to revamp this at some point, but that will be a while. Sorry.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants