summaryrefslogtreecommitdiff
path: root/blm
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-11-21 17:40:49 +0100
committerJohn Ankarström <john@ankarstrom.se>2020-11-21 17:40:49 +0100
commitacb8ecc09ba2185b21c31dba896b9d77b5f23af8 (patch)
tree6a8eca5aa9d2fc33cc006754a7c97115f8b1c3e9 /blm
parentfefd63e7ec06d7dc301daadb08dd3474d3c9ec27 (diff)
downloadweb-acb8ecc09ba2185b21c31dba896b9d77b5f23af8.tar.gz
blm: Use image of original size
Diffstat (limited to 'blm')
-rwxr-xr-xblm3
1 files changed, 1 insertions, 2 deletions
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"
'