nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thamme Gowda N (JIRA)" <>
Subject [jira] [Commented] (NUTCH-2144) Plugin to override db.ignore.external to exempt interesting external domain URLs
Date Mon, 19 Oct 2015 22:25:27 GMT


Thamme Gowda N commented on NUTCH-2144:

Thanks for your feedback. I agree that the content-type will be missing for newly discovered
URLs. I am double sure that HTTP HEAD requests add lots of overhead.

First I apply regex filter to limit urls. So HEAD call is made only on the URLs matched by
regex. However that was still not sufficient, so content type filter is made optional.

For example, 

the above rule makes HTTP HEAD call to the urls matched by regex to determine content type.


rule doesn't make HTTP HEAD, because the content type filter is not applied.

> 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
>            Priority: Minor
>         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