c# - Parse HTML in Windows Phone 8 without HtmlAgilityPack -


i'm trying build app windows phone 8 i'm trying parse data website.htmlagilitypack right tool when load website

htmldocument doc = web.load(url); 

i have error:

'htmlagilitypack.htmlweb' not contain definition 'load' , no extension method 'load' accepting first argument of type 'htmlagilitypack.htmlweb' found

my question is: there other way htmlagilitypack parse html in windows phone 8 ?

thanks.

that method not available wp8, since doesn't allow async downloads. should somehow download page , load htmldocument, example

httpclient client = new httpclient(); var html = await client.getstringasync("http://stackoverflow.com");  var doc = new htmlagilitypack.htmldocument(); doc.loadhtml(html); 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -