From ed6859c092eb01e117409de72a177f30047fbae3 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 21 Sep 2024 01:22:28 -0400 Subject: [PATCH] update pbm script --- bin/bin/pbm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/bin/pbm b/bin/bin/pbm index 0a7a2e8..5c4ec76 100755 --- a/bin/bin/pbm +++ b/bin/bin/pbm @@ -1,9 +1,9 @@ #!/bin/sh pbm() { - curl -s https://pinballmap.com/api/v1/locations/$1/machine_details.json\?machines_only=1 \ - | jq -r '.machines | .[]' \ - > ~/public_html/pin/$2.txt + curl -s https://pinballmap.com/api/v1/locations/$1/machine_details.json \ + | jq -r '.machines | .[] | "\(.manufacturer) \(.name)"' \ + > ~/pub/$2.txt } pbm 9699 coinslot