From acb8ecc09ba2185b21c31dba896b9d77b5f23af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 21 Nov 2020 17:40:49 +0100 Subject: blm: Use image of original size --- blm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'blm') diff --git a/blm b/blm index b3aa146..5b70f0d 100755 --- a/blm +++ b/blm @@ -7,8 +7,7 @@ jq -r '.data[] | "From BLOCKET " + (.list_time | sub("\\+[0-9][0-9]:00$"; "Z") | fromdate | strftime("%a %b %e %T %Y")) + "\n" + "From: " + .advertiser.name + ", " + .location[0].name + " (" + .advertiser.type + ")\n" + "Subject: " + "(" + (.price.value | tostring) + ") " + .subject + "\n" + - # (.images[] | "X-Image: " + .url + "\n") + - ([.images[].url] | map("X-Image: " + .) | join("\n")) + "\n" + + ([.images[].url] | map("X-Image: " + . + "?type=original") | join("\n")) + "\n" + "\n" + .body + "\n" + "\n" ' -- cgit v1.2.3