如下所示:
# -*- coding=utf-8 -*-
import urllib2
import socket
import time
urls = raw_input("Please enter a web address: \n> ")
print "\nAccess web page start..."
brushNum = 3600
for i in range(brushNum):
url = urls
socket.setdefaulttimeout
req_header = {'User-Agent':'Mozilla/5.0 (Windows NT 6.1)
1