摘要:
1.明确爬虫目的 爬虫目的需要我们明确的,没有目的的爬虫都是耍流氓!像我这次爬虫目的能不能从网页上爬下来。 2.怎么来爬? a. 先要找到具有唯一性的标签 b. 尽量选取匹配的信息 c. 尽量选取他们的父级标签 3. 简单点的爬虫思路 a. 模拟HTTP请求,向服务器发送这个请求,获取到服务器返回给 阅读全文
摘要:
探讨一下leetcode上的3Sum: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array whi 阅读全文
摘要:
1.Field boy in com.huhu.SpringDemo.HelloController required a bean of type 'com.huhu.SpringBean.Boy' that could not be found. 解决办法: 1.将这个类放到与Spring bo 阅读全文