Skip to content

Instantly share code, notes, and snippets.

@esses
Last active May 11, 2016 05:47
Show Gist options
  • Save esses/6217c5844e38825e21595a4d765f4765 to your computer and use it in GitHub Desktop.
Save esses/6217c5844e38825e21595a4d765f4765 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
end=$((SECONDS+7200))
while [ $SECONDS -lt $end ]; do
curl --data "returnResponse=true&FORM_CODE=nhl_2016_ea_cover_vote&round=3&player1=pavelski&player2=&player3=&player4=" https://pubservices.bamnetworks.com/s/FormService/FormSubmitServlet
printf " : vote for #NHL17Pavelski\n"
sleep $[ ( $RANDOM % 3 ) + 1 ]s
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment