nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
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

    [ https://issues.apache.org/jira/browse/NUTCH-2144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141296#comment-15141296
] 

Lewis John McGibbney commented on NUTCH-2144:
---------------------------------------------

bq.  [~chrismattmann] I am not sure if Tika can take an URL and guess possible mime type without
making a HEAD call. Can you point me to an example, if there is one?

Yes here you go https://tika.apache.org/1.11/api/index.html?org/apache/tika/detect/NameDetector.html

> Plugin to override db.ignore.external to exempt interesting external domain URLs
> --------------------------------------------------------------------------------
>
>                 Key: NUTCH-2144
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2144
>             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
(v6.3.4#6332)

Mime
View raw message