tadd content from next week as well - canteen-info - scrape weekly menus from canteens surrounding Aarhus University | |
git clone git://src.adamsgaard.dk/canteen-info | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 226a49df6de5d395f7fefab5c65381e320333d81 | |
parent da83f58234932685781b45d0e77e513df37c1079 | |
Author: Anders Damsgaard | |
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(-) --- | |
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 |