Removed debug print

This commit is contained in:
Geoffrey Frogeye 2019-12-24 15:12:38 +01:00
parent c65ae94892
commit 9f343ed296
Signed by: geoffrey
GPG key ID: D8A7ECA00A8CD3DD

View file

@ -20,7 +20,6 @@ function get_download_url { # study, dataset
echo "https://opendata.rapid7.com$(echo "$line" | cut -d'"' -f2)" echo "https://opendata.rapid7.com$(echo "$line" | cut -d'"' -f2)"
else else
filename=$(api_call "$study" | jq '.sonarfile_set[]' -r | grep "${dataset}.json.gz" | sort | tail -1) filename=$(api_call "$study" | jq '.sonarfile_set[]' -r | grep "${dataset}.json.gz" | sort | tail -1)
echo "$filename"
api_call "$study/$filename/download" | jq '.url' -r api_call "$study/$filename/download" | jq '.url' -r
fi fi
} }