#!/bin/sh
# https://order.uncleg.com/s/1000-2065/b?ps=128&pn=0
# tw

# curl -X POST https://order.uncleg.com/s/1000-2110/b -H 'Content-Type: application/json' -d '{"facets":{},"pn":1,"ps":128,"s":"NAZ","g":[]}' -o "dl_BOHEMIA.1000-2110_1b.json"
# curl -o dl_BOHEMIA.1000-2110_1.json -X POST https://order.uncleg.com/s/1000-2110/b -H "Content-Type:application/json" -d '{"facets":{},"pn":1,"ps":128,"s":"NAZ","g":[]}'

while IFS= read -r line; do
	# n=$((RANDOM % 10 + 20))
	n=$((RANDOM % 3 + 2))
    echo "Line: $n $EPOCHSECONDS .'$line'."
 	# $line
 	eval "$line"

	sleep "$n"
# done < eloc_TINTON_FALLS_1000-2065.txt
# done < eloc_YORKTOWN_HEIGHTS_1000-1039.txt
# done < eloc_extra.txt
# done < eloc.txt
# done < eloc_BOHEMIA_1000-2110.txt
# done < eloc_MORRIS_PLAINS_1000-2055.txt
# done < eloc_SMITHTOWN_1000-1042.txt
# done < eloc_PORT_WASHINGTON_1000-1044.txt
# done < eloc_PORT_JEFFERSON_1000-1043.txt
# done < eloc_NORTH_BABYLON_1000-1047.txt
done < eloc_MELVILLE_1000-1041.txt







# eloc_EAST_MEADOW_1000-1045.txt
# eloc_MASSAPEQUA_1000-1046.txt

# eloc_MELVILLE_1000-1041.txt
# eloc_NORTH_BABYLON_1000-1047.txt
# eloc_PORT_JEFFERSON_1000-1043.txt
# eloc_PORT_WASHINGTON_1000-1044.txt
# eloc_SMITHTOWN_1000-1042.txt
# eloc_MORRIS_PLAINS_1000-2055.txt
# eloc_RAMSEY_1000-1040.txt
# eloc_BOHEMIA_1000-2110.txt
# eloc_YORKTOWN_HEIGHTS_1000-1039.txt
# eloc_TINTON_FALLS_1000-2065.txt





echo "Line: $line"

