diff options
author | elioat <elioat@tilde.institute> | 2022-12-11 12:20:43 -0500 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2022-12-11 12:20:43 -0500 |
commit | e18a75339da1ee33bd8ba026570bf4d7ed6e8af2 (patch) | |
tree | 576bc40bae13d4a3945712c86e6eff5fb262bb1a /src | |
parent | ccedeed796645607d7fe118acf4c9a7cad54a804 (diff) | |
download | december-2022-e18a75339da1ee33bd8ba026570bf4d7ed6e8af2.tar.gz |
rolling things back
Diffstat (limited to 'src')
-rw-r--r-- | src/catalogue.lil | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/catalogue.lil b/src/catalogue.lil index 3ca4b8f..fc62950 100644 --- a/src/catalogue.lil +++ b/src/catalogue.lil @@ -14,12 +14,6 @@ on entry d t do # where d is a table representing a new row to be added to t, an existing table date_fmt_string:"date +%Y-%m-%d | tr -d '\n'" wget_fmt_string:"wget -qO- " , d.url , " | grep -o \"<title>[^<]*\" | sed -e 's/<[^>]*>//g' | tr -d '\n'" - wget_res:shell[wget_fmt_string].exit - # if wget_res.exit = -1 do - # exit["\n wget failed\n"] - # else - # t:insert title:(wget_res.out) reference:(d.url) created_date:(shell[date_fmt_string].out) into t - # end t:insert title:(shell[wget_fmt_string].out) reference:(d.url) created_date:(shell[date_fmt_string].out) into t end |