Markus Jelsma created NUTCH-2678: ------------------------------------ Summary: 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 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)