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

Sebastian Nagel commented on NUTCH-1995:
----------------------------------------

+1, yes
* there is already an output / log message about whitelisted URLs/hosts either 
in RobotsRulesParser's main() or in getRobotRulesSet(): do we need an 
additional log message on level INFO (cf. discussion in NUTCH-1927)? Logging is 
now a somewhat redundant:
{noformat}
2015-05-26 23:13:58,402 INFO  protocol.RobotRulesParser - localhost is 
whitelistened: true
2015-05-26 23:13:58,405 INFO  api.HttpRobotRulesParser - Whitelisted host found 
for: http://localhost
2015-05-26 23:13:58,405 INFO  api.HttpRobotRulesParser - Ignoring robots.txt 
for all URLs from whitelisted host: localhost
{noformat}

> Add support for wildcard to http.robot.rules.whitelist
> ------------------------------------------------------
>
>                 Key: NUTCH-1995
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1995
>             Project: Nutch
>          Issue Type: Improvement
>          Components: robots
>    Affects Versions: 1.10
>            Reporter: Giuseppe Totaro
>            Assignee: Chris A. Mattmann
>              Labels: memex
>             Fix For: 1.11
>
>         Attachments: NUTCH-1995.MattmannNagelTotaro.patch, NUTCH-1995.patch
>
>
> The {{http.robot.rules.whitelist}} 
> ([NUTCH-1927|https://issues.apache.org/jira/browse/NUTCH-1927]) configuration 
> parameter allows to specify a comma separated list of hostnames or IP 
> addresses to ignore robot rules parsing for.
> Adding support for wildcard in {{http.robot.rules.whitelist}} could be very 
> useful and simplify the configuration, for example, if we need to give many 
> hostnames/addresses. Here is an example:
> {noformat}
> <name>http.robot.rules.whitelist</name>
>   <value>*.sample.com</value>
>   <description>Comma separated list of hostnames or IP addresses to ignore 
>   robot rules parsing for. Use with care and only if you are explicitly
>   allowed by the site owner to ignore the site's robots.txt!
>   </description>
> </property>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to