« Return to Thread: [jira] Created: (NUTCH-731) Redirection of robots.txt in RobotRulesParser

[jira] Commented: (NUTCH-731) Redirection of robots.txt in RobotRulesParser

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


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

Julien Nioche commented on NUTCH-731:
-------------------------------------

Here is an example which the patch helps addressing

curl http://wizardhq.com/robots.txt

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.wizardhq.com/robots.txt">here</a>.</p>
</body></html>

again, the ratio of robots_denied status started going up after I wrote the patch which means that such cases are not so rare

> Redirection of robots.txt in RobotRulesParser
> ---------------------------------------------
>
>                 Key: NUTCH-731
>                 URL: https://issues.apache.org/jira/browse/NUTCH-731
>             Project: Nutch
>          Issue Type: Improvement
>          Components: fetcher
>    Affects Versions: 1.0.0
>            Reporter: Julien Nioche
>         Attachments: NUTCH-731.patch
>
>
> The patch attached allows to follow one level of redirection for robots.txt files. A similar issue was mentioned in NUTCH-124 and has been marked as fixed a long time ago but the problem remained, at least when using Fetcher2 . Mathijs Homminga pointed to the problem in a mail to the nutch-dev list in March.
> I have been using this patch for a while now on a large cluster and noticed that the ratio of robots_denied per fetchlist went up, meaning that at least we are now getting restrictions we would not have had before (and getting less complaints from webmasters at the same time)

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

 « Return to Thread: [jira] Created: (NUTCH-731) Redirection of robots.txt in RobotRulesParser