rebasar / lunchy

Lunchy - A Scraper for lunch menus
GNU Affero General Public License v3.0
1 stars 1 forks source link

Fix Byns Bistro Parser #7

Open rebasar opened 7 years ago

rebasar commented 7 years ago

Byns Bistro changed their menu style and the URL. As a result, the current parser is failing. Fix it.

URL for the new menu can be found at: https://www.bynsbistro.se/menyer

rebasar commented 7 years ago

I won't fix this. Instead I will be removing Byns Bistro parser completely. The reason for that is that it just requires too much effort to implement, and I am not really in the mood. I'll leave the issue open, in case somebody (maybe even me) wants to fix it in the future. Here are the steps for parsing, if anyone comes up with a decent implementation:

An alternative method might be using something like Selenium to get the final DOM tree directly but it is not viable, considering it will introduce a hue dependency and the current server is rather resource limited.