#!/usr/bin/env python





# v1=100
# v2='select * from %s'%v1
# print(v2)

'''
Created on 2017年6月4日

@author: Succez
'''
#-*- coding: utf-8 -*-

import requests

url='http://www.itpub.net/'

#伪装浏览器
headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36'}

#使用代理ip
proxies={
    'http':'http://119.5.0.71:808',
    'https':'https://183.163.145.69:8118'
}
res=requests.get(url,headers=headers).content.decode('gbk')
print(res)
