Nutch No agents listed in 'http.agent.name'

后端 未结 2 1854
南笙
南笙 2020-12-29 12:12
Exception in thread \"main\" java.lang.IllegalArgumentException: Fetcher: No agents listed in \'http.agent.name\' property.
        at org.apache.nutch.fetcher.Fetch         


        
相关标签:
2条回答
  • 2020-12-29 12:45

    using 1.3? If so make sure you changed nutch-site.xml (and not default) in runtime/local/conf Changing the conf in NUTCH_HOME/conf won't be copied to the runtime dirs unless you rebuild with ant.

    0 讨论(0)
  • 2020-12-29 12:48

    Try giving the agent name for http.robots.agents also. It worked for me. I didn't get that message thereafter!!!

    0 讨论(0)
提交回复
热议问题