I am trying to access content on a website page using:
Uri uri = new Uri("http://www.xyz.com/abc"); // just a psuedo website
HtmlWeb web = new HtmlWeb();
HtmlAgilityPack.HtmlDocument doc = web.Load(uri);
Using the debugger, I look at doc.Text with the HTML visualizer and get a window saying:
'your web browser has restricted this file from showing active content .... Click here for options'
I click there & get a drop down menu saying 'allow blocked content'. I click & get a message saying:
'Allowing script or ActiveX controls can be useful ....... Are you sure you want to let this file run active content'
I click Yes & then see the website page content in human readable form - all well & good.
But, I want to programmatically access the page content - specifically searching each line for a certain word.
Is this doable?? I don't have a clue if it is nor do I have the foggest idea of where to start.
Any help will be much appreciated -- TIA Joe