Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Studierendenwerk Hamburg menu page very similar to Köln - please add #25

Closed
CHirch opened this issue Nov 17, 2022 · 5 comments
Closed

Comments

@CHirch
Copy link

CHirch commented Nov 17, 2022

Hamburg currently is a blind spot on openmensa.org. To me it seems like Hamburg uses the same menu page as Köln does. The parameters in the URL, the filters and the header and footer look quite similar.
Unfortunately my Python skills are very low but perhaps someone can adjust the script for Hamburg.
Here's a link to a menu page of Hamburg: https://www.stwhh.de/speiseplan/?l=137&t=next_day
Thanks in advance!

@cvzi
Copy link
Owner

cvzi commented Nov 18, 2022

I'll check it out

There is a parser at https://github.com/mswart/openmensa-parsers/blob/master/parsers/hamburg.py but it does no longer work and it looks like that repository is no longer maintained, last commit is over a year ago.

@CHirch
Copy link
Author

CHirch commented Nov 18, 2022

Yes, they changed their system about a year ago.
It now has all these fancy filters but the site doesn't render correctly on smaller monitors (like i use) - _ - and they broke the openmensa integration at the same time. annoying...
So, would be really cool if you could fix the parser to get it up and running again.

@cvzi
Copy link
Owner

cvzi commented Nov 18, 2022

@CHirch
Copy link
Author

CHirch commented Nov 21, 2022

Excellent! Thank you!

@CHirch CHirch closed this as completed Nov 21, 2022
@cvzi
Copy link
Owner

cvzi commented Nov 22, 2022

The only problem is that now the locations are duplicated. I'll ask one of the maintainers if they can deactivate the ones from the old parser.

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

No branches or pull requests

2 participants