nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <>
Subject [jira] [Commented] (NUTCH-2144) Plugin to override db.ignore.external to exempt interesting external domain URLs
Date Wed, 10 Feb 2016 17:50:18 GMT


Chris A. Mattmann commented on NUTCH-2144:

Agreed and agreed. Thamme can you submit a new version of the patch/pull request as Lewis
suggests using just suffix checking.

Thamme - if you turn off MIME magic in the tika config, then it will default to glob pattern
and URL regex matching. However, I wouldn't even bother with it in this case, and just doing
a simple URL/regex check in Nutch will satisfy the speed gains.

Looking forward to the new version of the PR.

> Plugin to override db.ignore.external to exempt interesting external domain URLs
> --------------------------------------------------------------------------------
>                 Key: NUTCH-2144
>                 URL:
>             Project: Nutch
>          Issue Type: New Feature
>          Components: crawldb, fetcher
>            Reporter: Thamme Gowda N
>            Assignee: Chris A. Mattmann
>            Priority: Minor
>             Fix For: 1.12
>         Attachments: ignore-exempt.patch, ignore-exempt.patch
> Create a rule based urlfilter plugin that allows focused crawler (db.ignore.external.links=true)
to fetch static resources from external domains.
> The generalized version of this: This plugin should permit interesting URLs from external
domains (by overriding db.ignore.external). The interesting urls are decided from a combination
of regex and mime-type rules.
> Concrete use case:
>   When using Nutch to crawl images from a set of domains, the crawler needs to fetch
all images which may be linked from CDNs and other domains. In this scenario, allowing all
external links and then writing hundreds of regular expressions is not feasible for large
number of domains.

This message was sent by Atlassian JIRA

View raw message