04 2016 档案
摘要:editor does not contain a main type的解决方案 今天用eclipse,当打算run一个带有main函数的class时,出现editor does not contain a main type的错误框。 baidu了一下,迅速解决问题:原来这个class所在包没有被
阅读全文
摘要:4.1 实现PageProcessor 这部分我们直接通过GithubRepoPageProcessor这个例子来介绍PageProcessor的编写方式。我将PageProcessor的定制分为三个部分,分别是爬虫的配置、页面元素的抽取和链接的发现。 public class GithubRepo
阅读全文