adding jpeg extension

master
Matthew Huntington 2 years ago
parent 2cd2a73a54
commit 188fcf57aa

7
app

@ -8,7 +8,10 @@ items=$(curl --location 'https://gethomeroom.com/__proxy__/cluster' \
--data-urlencode 'headers=' \
--data-urlencode 'body=' \
--data-urlencode 'csrfToken=55G9WSTNtXWCh9cc5nh1YQ==' | jq -r -c ".body.photos[].imageUrls.fullsize")
index=1
for item in ${items[@]}; do
#echo $item
wget -P images $item
#echo $index
#echo $index.jpeg
wget -O images/$index.jpeg $item
((index++))
done

Loading…
Cancel
Save