You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by chethan <ch...@gmail.com> on 2012/06/07 16:15:35 UTC
robots.txt UnknownHostException
Hi,
When Nutch doesn't find the robots.txt for a given URL, why does it not
fetch that URL at all? I mean, if the robots is not found, doesn't it mean
that the owner of that website doesn't really care about crawlers? So, it's
ok for Nutch to fetch from it right?
Thanks,
Chethan
RE: robots.txt UnknownHostException
Posted by Markus Jelsma <ma...@openindex.io>.
Hi
It cannot resolve the host and therefore crawl none of the pages on that host. Make sure your DNS settings are correct, the host actually exists or add it manually to your hosts file.
Cheers
-----Original message-----
> From:chethan <ch...@gmail.com>
> Sent: Thu 07-Jun-2012 16:29
> To: user@nutch.apache.org
> Subject: Re: robots.txt UnknownHostException
>
> But that should not stop it from crawling the rest of the site right? What
> I'm seeing here is when the UnknownHostException is thrown from the robots
> url, the rest of the site is never crawled. Shouldn't it find more links on
> the root page and follow them?
>
> Thanks,
> Chethan
>
> On Thu, Jun 7, 2012 at 7:49 PM, Markus Jelsma <ma...@openindex.io>wrote:
>
> > Hi,
> >
> > Nutch will fetch URL's without robots.txt, but if robots.txt throws an
> > UnknownHostException, the URL will throw it as well and fail.
> >
> > Cheers
> >
> >
> > -----Original message-----
> > > From:chethan <ch...@gmail.com>
> > > Sent: Thu 07-Jun-2012 16:16
> > > To: user@nutch.apache.org
> > > Subject: robots.txt UnknownHostException
> > >
> > > Hi,
> > >
> > > When Nutch doesn't find the robots.txt for a given URL, why does it not
> > > fetch that URL at all? I mean, if the robots is not found, doesn't it
> > mean
> > > that the owner of that website doesn't really care about crawlers? So,
> > it's
> > > ok for Nutch to fetch from it right?
> > >
> > > Thanks,
> > > Chethan
> > >
> >
>
Re: robots.txt UnknownHostException
Posted by chethan <ch...@gmail.com>.
But that should not stop it from crawling the rest of the site right? What
I'm seeing here is when the UnknownHostException is thrown from the robots
url, the rest of the site is never crawled. Shouldn't it find more links on
the root page and follow them?
Thanks,
Chethan
On Thu, Jun 7, 2012 at 7:49 PM, Markus Jelsma <ma...@openindex.io>wrote:
> Hi,
>
> Nutch will fetch URL's without robots.txt, but if robots.txt throws an
> UnknownHostException, the URL will throw it as well and fail.
>
> Cheers
>
>
> -----Original message-----
> > From:chethan <ch...@gmail.com>
> > Sent: Thu 07-Jun-2012 16:16
> > To: user@nutch.apache.org
> > Subject: robots.txt UnknownHostException
> >
> > Hi,
> >
> > When Nutch doesn't find the robots.txt for a given URL, why does it not
> > fetch that URL at all? I mean, if the robots is not found, doesn't it
> mean
> > that the owner of that website doesn't really care about crawlers? So,
> it's
> > ok for Nutch to fetch from it right?
> >
> > Thanks,
> > Chethan
> >
>
RE: robots.txt UnknownHostException
Posted by Markus Jelsma <ma...@openindex.io>.
Hi,
Nutch will fetch URL's without robots.txt, but if robots.txt throws an UnknownHostException, the URL will throw it as well and fail.
Cheers
-----Original message-----
> From:chethan <ch...@gmail.com>
> Sent: Thu 07-Jun-2012 16:16
> To: user@nutch.apache.org
> Subject: robots.txt UnknownHostException
>
> Hi,
>
> When Nutch doesn't find the robots.txt for a given URL, why does it not
> fetch that URL at all? I mean, if the robots is not found, doesn't it mean
> that the owner of that website doesn't really care about crawlers? So, it's
> ok for Nutch to fetch from it right?
>
> Thanks,
> Chethan
>