但在使用网络爬虫时最好用最常见的那些User-Agent,以免被网站拒绝访问。 ... 使用urllib2模块修改header ''' 11 def __init__(self): 12 #这个是PC + IE的User-Agent ...
確定! 回上一頁