摘要:
1 #!/usr/bin/python 2 import urllib2 3 4 server_list = [] 5 product_list = ['/dpool/hdpic/index.php'] 6 7 def main(): 8 for ip in server_list: 9 for product in product_list:10 url = 'http://%s%s' % (ip, product)11 request = urllib2.Request(url)12 re... 阅读全文