srehwald / eat-api

Simple static API for some (student) food places in Munich.
https://srehwald.github.io/eat-api/
MIT License
14 stars 20 forks source link

IPP correct biginning of column, shift -3 #37

Closed raabf closed 6 years ago

raabf commented 6 years ago

The column detection is done through the string "Tagessuppe siehe Aushang" which is at the beginning of every column. However, due to center alignment the column do not begin at the 'T' character and broader text in the column might be left of this character, which then gets truncated. But the gap between the 'T' and the '€' character of the previous column — the real beginning of the current column — is always three, which will be subtracted here.

The tests, the current week and the next two published ones looks good so far; no more truncated words. Fixes #28

raabf commented 6 years ago

apt-get failed to connect to mirror.jmu.edu and ppa.launchpad.net. Please retrigger the build if they solved their network issues.