Created
April 13, 2014 20:14
-
-
Save dvidsilva/10600453 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
COUNTER=0 | |
while [ $COUNTER -lt 200 ]; do | |
curl "https://connectapi.telescope.tv/vote?apiKey=nascallstar2014&deviceType=web×tamp=1397365183350&action_type=vote&country=US&state=CA&doubleVote=false&sprintCustomer=O&insiderEmailOptin=true&smsOptin=false&emailOptin=true&email=none"%"40dispostable.com&v=A12" -H "Origin: http://e1.votenow.tv" -H "Accept-Encoding: gzip,deflate,sdch" -H "Accept-Language: es,en-US;q=0.8,en;q=0.6,he;q=0.4" -H "User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36" -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -H "Accept: application/json, text/javascript, */*; q=0.01" -H "Referer: http://e1.votenow.tv/?app=web&ref=http"%"3A"%"2F"%"2Fwww.nascar.com"%"2FSprintFanVote.html" -H "Connection: keep-alive" --data "Authorization=kZVndoQjJx8hs0lj8lf6dW2rKEM"%"3D" --compressed | |
echo the counter is $COUNTER | |
let COUNTER=COUNTER+1 | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment