diff --git a/run_importer.sh b/run_importer.sh index 2f311137b7..7cf134648f 100755 --- a/run_importer.sh +++ b/run_importer.sh @@ -24,8 +24,8 @@ fi URL=https://openhatch.org/+api/v1/customs/tracker_model/\?just_stale\=yes\&format\=yaml\&limit\="$MAX_TRACKERS"\&tracker_id="$TRACKER_ID" -# It's OK if wget has to try 4 times. -(wget "$URL" -O- || wget "$URL" -O- || wget "$URL" -O- || wget "$URL" -O-) > "$BUG_TRACKER_LIST" +# It's OK if curl has to try 4 times. +(curl "$URL" || curl "$URL" || curl "$URL" || curl "$URL" -O-) > "$BUG_TRACKER_LIST" pushd ../oh-bugimporters env/bin/python bugimporters/main.py -i "$BUG_TRACKER_LIST" -o "$SCRAPY_RESULT_FILE"