tadd content from next week as well - canteen-info - scrape weekly menus from canteens surrounding Aarhus University
HTML git clone git://src.adamsgaard.dk/canteen-info
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 226a49df6de5d395f7fefab5c65381e320333d81
DIR parent da83f58234932685781b45d0e77e513df37c1079
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Thu, 19 Feb 2015 20:29:55 +0100
add content from next week as well
Diffstat:
M matkant | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/matkant b/matkant
t@@ -12,7 +12,8 @@ html2text $tmpfile > $tmpfile.txt
cat $tmpfile.txt |\
sed -n '/\* Mandag\|\* Tirsdag\|\* Onsdag\|\* Torsdag\|\* Fredag/,$p' |\
- sed -n '/.*Lørdag/q;p' |\
+ sed 's/XHTML.*//' |\
+ #sed -n '/.*Mandag\|.*Tirsdag\|.*Onsdag\|.*Torsdag\|.*Fredag\|.*Lørdag\|.*Søndag/q;p' |\
grep -v '^$'
rm $tmpfile