摘要: Spider.create(new CustomProcessor()) .addUrl(urlStr) .addPipeline(new CustomPipeline()) .setDownloader(new HttpClientDownloader) .run(); // 执行爬虫(启动爬虫) 阅读全文