You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2018/12/10 14:02:00 UTC
[jira] [Updated] (NUTCH-2678) Allow for per-host configurable
protocol plugin
[ https://issues.apache.org/jira/browse/NUTCH-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Jelsma updated NUTCH-2678:
---------------------------------
Attachment: NUTCH-2678.patch
> Allow for per-host configurable protocol plugin
> -----------------------------------------------
>
> Key: NUTCH-2678
> URL: https://issues.apache.org/jira/browse/NUTCH-2678
> Project: Nutch
> Issue Type: Improvement
> Components: protocol
> Affects Versions: 1.15
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Priority: Major
> Fix For: 1.16
>
> Attachments: NUTCH-2678.patch
>
>
> Introduces new parameter for protocol plugins called host. It takes a comma separated set of host names. Protocols are resolved by hostname first, then by protocol as it is now.
> {code}
> <extension id="org.apache.nutch.protocol.http"
> name="HttpProtocol"
> point="org.apache.nutch.protocol.Protocol">
> <implementation id="org.apache.nutch.protocol.http.Http"
> class="org.apache.nutch.protocol.http.Http">
> <parameter name="host" value="nutch.apache.org"/>
> <parameter name="protocolName" value="http,https"/>
> </implementation>
> </extension>
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)