You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Julien Nioche (JIRA)" <ji...@apache.org> on 2009/09/07 20:35:57 UTC

[jira] Updated: (NUTCH-753) Prevent new Fetcher to retrieve the robots twice

     [ https://issues.apache.org/jira/browse/NUTCH-753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Nioche updated NUTCH-753:
--------------------------------

    Attachment: NUTCH-753.patch

Patch which prevents fetching the robots file twice with the new Fetcher

> Prevent new Fetcher to retrieve the robots twice
> ------------------------------------------------
>
>                 Key: NUTCH-753
>                 URL: https://issues.apache.org/jira/browse/NUTCH-753
>             Project: Nutch
>          Issue Type: Improvement
>          Components: fetcher
>    Affects Versions: 1.0.0
>            Reporter: Julien Nioche
>         Attachments: NUTCH-753.patch
>
>
> The new Fetcher which is now used by default handles the robots file directly instead of relying on the protocol. The options Protocol.CHECK_BLOCKING and Protocol.CHECK_ROBOTS are set to false to prevent fetching the robots.txt twice (in Fetcher + in protocol), which avoids calling robots.isAllowed. However in practice the robots file is still fetched as there is a call to robots.getCrawlDelay() a bit further which is not covered by the if (Protocol.CHECK_ROBOTS).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.