You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/06/21 00:48:25 UTC
[jira] [Commented] (NUTCH-1718) redefine http.robots.agent as
"additional agent names"
[ https://issues.apache.org/jira/browse/NUTCH-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039492#comment-14039492 ]
Hudson commented on NUTCH-1718:
-------------------------------
SUCCESS: Integrated in Nutch-nutchgora #1051 (See [https://builds.apache.org/job/Nutch-nutchgora/1051/])
NUTCH-1718 redefine http.robots.agent as "additional agent names" (snagel: http://svn.apache.org/viewvc/nutch/branches/2.x/?view=rev&rev=1604291)
* /nutch/branches/2.x/CHANGES.txt
* /nutch/branches/2.x/conf/nutch-default.xml
* /nutch/branches/2.x/src/java/org/apache/nutch/fetcher/FetcherJob.java
* /nutch/branches/2.x/src/java/org/apache/nutch/protocol/RobotRulesParser.java
* /nutch/trunk/CHANGES.txt
* /nutch/trunk/conf/nutch-default.xml
* /nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java
* /nutch/trunk/src/java/org/apache/nutch/protocol/RobotRulesParser.java
> redefine http.robots.agent as "additional agent names"
> ------------------------------------------------------
>
> Key: NUTCH-1718
> URL: https://issues.apache.org/jira/browse/NUTCH-1718
> Project: Nutch
> Issue Type: Bug
> Components: fetcher
> Affects Versions: 1.7, 2.2, 2.2.1
> Reporter: Sebastian Nagel
> Priority: Trivial
> Fix For: 2.3, 1.9
>
> Attachments: NUTCH-1718-2x.v2.patch, NUTCH-1718-trunk.v1.patch, NUTCH-1718-trunk.v2.patch
>
>
> The description of property http.robots.agent in nutch-default.xml recommends to add a '*' to the list of agent names. This will cause the same problem as described in NUTCH-1715. The description should be updated. Also regarding "order of precedence" which is dictated since NUTCH-1031 only by ordering of user agents in robots.txt.
> {code:xml}
> <property>
> <name>http.robots.agents</name>
> <value>*</value>
> <description>The agent strings we'll look for in robots.txt files,
> comma-separated, in decreasing order of precedence. You should
> put the value of http.agent.name as the first agent name, and keep the
> default * at the end of the list. E.g.: BlurflDev,Blurfl,*
> </description>
> </property>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)