login about faq

id i write this code spider.Initialize("www.imdb.com/find?q=don&s=all/");

        //  Add the 1st URL:

spider.AddUnspidered("http://www.imdb.com/find?q=don&s=all/"); then at line bool success; success = spider.CrawlNext(); it gives me false

but when i write this spider.Initialize("www.imdb.com");

        //  Add the 1st URL:

spider.AddUnspidered("http://www.imdb.com/find?q=don&s=all/"); it gives true and return the links of www.imdb.com this link rather then this http://www.imdb.com/find?q=don&s=all/ so what i want is to get the links of this page http://www.imdb.com/find?q=don&s=all/

asked Dec 13 '12 at 14:56

Arslan%20Bilal's gravatar image

Arslan Bilal
6223


i got it the problem is i should write url in spider.initialize("http://www.imdb.com/find?q=don&s=all/"); rather then the above

link

answered Dec 13 '12 at 17:17

Arslan%20Bilal's gravatar image

Arslan Bilal
6223

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×98

Asked: Dec 13 '12 at 14:56

Seen: 609 times

Last updated: Dec 13 '12 at 17:17

powered by OSQA