Removed debug print
This commit is contained in:
parent
c65ae94892
commit
9f343ed296
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue