摘要: # -*- coding: utf-8 -*- import urllib2 #urllib2 默认的User-Agent是 Python-urllib/2.7 #User-Agent是爬虫和发爬虫斗争的第一步 ua_headers = { "User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (K... 阅读全文
posted @ 2017-07-23 20:41 windalm 阅读(685) 评论(0) 推荐(0) 编辑