You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Rizwan Raza <ri...@gmail.com> on 2010/12/25 04:59:24 UTC

crawl returned just one url

Hi guys:

I am using nutch 1.2. I did a crawl on www.thedogplace.com using the command
below

./bin/nutch crawl urls -dir crawl-thedogplace -depth 3 >& crawl.log

It finished the crawl successfully.

I then checked the stats to see how many urls it retrieved and I was
surprized to see it returned only 1 url.

>From the readdb command below

./bin/nutch readdb crawl/crawldb -dump outdir

it dumped the following output

http://www.thedogplace.com/ Version: 7
Status: 4 (db_redir_temp)
Fetch time: Sun Jan 23 01:54:24 CST 2011
Modified time: Wed Dec 31 18:00:00 CST 1969
Retries since fetch: 0
Retry interval: 2592000 seconds (30 days)
Score: 1.0
Signature: null
Metadata: _pst_: temp_moved(13), lastModified=0:
http://www.thedogplace.com/Main/Default.aspx?p=5&s=0

I was expecting crawl to bring multiple urls but it brought only
http://www.thedogplace.com/Main/Default.aspx?p=5&s=0

Is there anything I am missing?

Thanks
-rizwan

Re: crawl returned just one url

Posted by Alex McLintock <al...@gmail.com>.
On 25 December 2010 03:59, Rizwan Raza <ri...@gmail.com> wrote:

>
> http://www.thedogplace.com/ Version: 7
> Status: 4 (db_redir_temp)
> Fetch time: Sun Jan 23 01:54:24 CST 2011
> Modified time: Wed Dec 31 18:00:00 CST 1969
> Retries since fetch: 0
> Retry interval: 2592000 seconds (30 days)
> Score: 1.0
> Signature: null
> Metadata: _pst_: temp_moved(13), lastModified=0:
> http://www.thedogplace.com/Main/Default.aspx?p=5&s=0
>
>

I am guessing that because it got the "This page has moved" message from the
server it didn't have any further links to crawl into.
What happens if you start your crawl from "
http://www.thedogplace.com/Main/Default.aspx" instead

Note that Nutch doesn't like coping with stuff after the "?". By default
Nutch will ignore everything after the ? through the regexp filtering. if
you can convert the DogPlace site to clean urls then that might help.

Alex