xautlx / nutch-ajax

Apache Nutch Plugins for AJAX page fetch, parse, index
86 stars 81 forks source link

Nutch AJAX page Fetch, Parse, Index Plugin

项目简介

基于Apache Nutch 2.3和Htmlunit, Selenium WebDriver等组件扩展,实现对于AJAX加载类型页面的完整页面内容抓取,以及特定数据项的解析和索引。

According to the implementation of Apache Nutch 2.X, we can't get dynamic HTML information from fetch pages including AJAX requests as it will ignore all AJAX requests.

This plugin will use Htmlunit and Selenium WebDriver to fetch whole page content with necessary dynamic AJAX requests.

It developed and tested with Apache Nutch 2.3, you can try it on other Nutch 2.X version or refactor the source codes as your design.

主要特性

运行方式

整个项目基于官方的Apache Nutch 2.3源码基础之上添加插件代码和配置,运行方式和官方指南保持一致,具体请参考:http://wiki.apache.org/nutch/

同时工程代码中提交了Eclipse的工程配置文件,可以直接import Eclipse中Run或Debug运行,Nutch工程以Ivy进行依赖管理,可采用ANT Build方式或建议在Eclipse IDE安装Apache Ivy IDE插件进行工程编译运行。

snapshot

snapshot

snapshot

扩展插件说明

详细参考文档

项目提供一份比较详细的“基于Nutch&Solr定向采集解析和索引搜索的整合技术指南文档”,可通过以下两种方式查看参考文档内容:

许可说明

本项目所有代码完整开源,在保留标识本项目来源信息以及保证不对本项目进行非授权的销售行为的前提下,可以以任意方式自由免费使用:开源、非开源、商业及非商业。

如果你还有兴趣在Apache Nutch/Solr/Lucene等系列技术的定制的扩展实现/技术咨询服务/毕业设计指导/二次开发项目指导等方面的合作意向,可联系 E-Mail: s2jh-dev@hotmail.com 或 QQ: 2414521719 (加Q请注明:nutch/solr/lucene) 洽谈。[上述联系方式恕不直接提供咨询类询问,为了提升项目活跃度,若对项目有任何技术问题或Issue反馈,请直接提交到项目站点提问或Git平台的Issue]

Reference

欢迎关注作者其他项目: