fsr / matthias

🤖 Mr. Stuhlbein, completely automated
Other
11 stars 6 forks source link

Mensa ain't workin' #6

Closed kiliankoe closed 9 years ago

kiliankoe commented 9 years ago

Stupid shit ain't doing what's it's supposed to be doing. Cletus, get over 'ere and fix this dog-gone pile'o'shit!

JustusAdam commented 9 years ago

What's the problem?

kiliankoe commented 9 years ago

I'm guessing the problem lies @ openmensa. Data is rarely correct.

JustusAdam commented 9 years ago

Ah. Yeah that seems a bit out of reach.

kiliankoe commented 9 years ago

And I'd rather not start scraping here... Wanted to ask some stuff from the Studentenwerk anyways (soon-ish)...

JustusAdam commented 9 years ago

No I agree about the not scraping. But what exactly seems to be wrong? Is it always the same mensa? or days behind?

kiliankoe commented 9 years ago

Not entirely sure, but it seems like the data is always a day behind and refreshes sometime in the afternoon. But as I said, not entirely sure about this.

JustusAdam commented 9 years ago

Because openmensa is on github ...

kiliankoe commented 9 years ago

I know, don't care much though

JustusAdam commented 9 years ago

Might be worth at least opening an issue. But I can't do it, I can't properly describe the issue.

kiliankoe commented 9 years ago

Got it! Fuckers...

$ http get http://openmensa.org/api/v2/canteens/79/days/2015-07-31/meals is what we should be doing, not using today, which randomizes the fucking output for some idiotic reason.