-
Notifications
You must be signed in to change notification settings - Fork 14
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
German Dish fetching is broken #257
Comments
Has been reported Upstream, I don't see a fix on our side until StuWerk IT fixes this
|
We could maybe parse the weekly menu from that URL 🤔 |
https://www.mensaplan.de/garching/mensa-garching/index.html Interestingly enough this website has no issues displaying the meal plan whatsoever. Without any knowledge about the code base - is there anything we can do on our side? Would be great if we are up and running at the beginning of the new semester 🙂 thank you guys! |
Well I for my part, being impatient, started to crawl the current meal plan from the overview page which shows the meal plan of the whole month (not a particular day). Maybe that is what this website is doing (but of course I don't know the codebase either). |
This codebase currently crawls only the broken daily pages, it should be fairly easy to just point it at the monthly page and extract multiple days at once. |
I created a draft PR #263 that uses the overview page instead of the detail pages in the StudentenWerkMenuParser. Since I am not really familiar with Python nor have the capacity to adjust the tests since I'm also developing for the TCA, it would be great if someone could support me with the development 😄 |
@jakobkoerber I've fixed the tests and linting issues in my fork. |
Nice, thank you! 😄 |
@Friendly-Banana only additional question I have: wouldn't we need to change the assets of the test? They look like the daily pages not the overview we are using now 🤔 |
The test has both, the individual menu parsing with daily menus and the overview ( |
The german detail pages are broken
resulting in empty API responses. The english version still works for some reason
The text was updated successfully, but these errors were encountered: