Automated download of website content using ASP.net

Posted by Yaaqov on Stack Overflow See other posts from Stack Overflow or by Yaaqov
Published on 2010-03-24T20:20:31Z Indexed on 2010/03/24 20:23 UTC
Read the original article Hit count: 282

Using ASP.net, what methods can I use to do the following:

  1. Open up a connection to a given URL to read HTML content
  2. Parse the given URL for hyperlinks, and place them in an array
  3. Loop through each hyperlink (only 1 level down), opening each one, saving the HTML contents in a table, and move to the next hyperlink until done.

If ASP.net is not up to the task, other languages or free scripts/toolkits would be acceptable.

Thanks.

© Stack Overflow or respective owner

Related posts about parse

Related posts about ASP.NET