2017年7月11日
摘要: 不bb,直接上代码: /** * 传输数据 * @param libraryId */ @RequestMapping(value = "/**transfer****", method = RequestMethod.GET) @ResponseBody public Object transfe 阅读全文
posted @ 2017-07-11 15:53 断剑重铸之时 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 首先从国外一个网站爬取了免费的代理ip信息存到mongodb中;接着代码设置: 在爬虫客户端抽象类中添加属性: 设置代理的代码其实就以下几句: firefoxProfile.setPreference("network.proxy.type", 1); firefoxProfile.setPrefe 阅读全文
posted @ 2017-07-11 15:05 断剑重铸之时 阅读(587) 评论(0) 推荐(0) 编辑