Skip to content

Commit

Permalink
Update download_historic_data.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa authored Mar 15, 2020
1 parent 0ffedee commit 248faac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion download_historic_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ urls=$(curl "$base" | jq -r '.assets|sort_by(.updated_at)|reverse[]|.browser_dow
outfile=stations.zip
for url in $urls; do
wget -nv -O "$outfile" "$url" && \
unzip -q -o $outfile && \
unzip -o $outfile && \
break || continue
done

Expand Down

0 comments on commit 248faac

Please sign in to comment.