[RESOLVED] How to get Links of webbrowser
Hi all
I want to read only useful links fron the google news page for search .
When I used document.links then it shows all links.
I want to read all those 10 links that comes when we search for any string from search text box. I examined its (google news search) HTML page but there is no difference among those 10 links and other links.
any help is appriciated
Thanks
Re: How to get Links of webbrowser
You can hit google's rss feed with a query string. With that you only get back the relevant xml.
Re: How to get Links of webbrowser
Thanks for reply crptcblade
Is it a xml okay.
I got this rss in my webbrowser control,
Now 2 problmes arises
1. webbrowser1.documentText gives it as html
2. this HTML is not XML format. It flashes error when we assign this DocumentText to an XMLDocument.
so again got stuck
Kindly help me
Thanks
Re: How to get Links of webbrowser
I also tried the method to convert HTML to XML but is not worth doing
well, can i get those links whose id started with "s-" from
vb Code:
webBrowser3.Document.Links[counter]
when I used
vb Code:
string id=webBrowser1.Document.Links[counter].Id;
it assigns null to id, why so.......
Anyone can help me
Thanks