This project has moved and is read-only. For the latest updates, please go here.

How to load a file directly from the web?

Nov 14, 2012 at 9:50 AM

Hey guys,


maybe I am a little bit confused right now, but how can I manage it to get a html document directly from the web?

Seems the HtmlDocument.load method only loads local files? Or do I have to use the stream version?

A hint would be so great! Thanks a lot in advance


Nov 15, 2012 at 4:34 AM

What I did was download the Html page using WebClient.DownloadString, then open it up using HtmlDocument.loadHtml, works fine.