1
Vote

get absolute link of anchor tag from html document

description

Hello,
 
I want to extract all links from html page. I am able to do this.
But I need absolute link instead of relative links.
 
Please any body help me.
 
Thanks in Advance.
 
Regards,
Alpesh

comments

DarthObiwan wrote Jan 6, 2010 at 2:37 PM

this is not an "issue" with HAP and should be posted in the Discussions form. I will be closing this issue, please repost in the Discussions. HAP has no capability of getting the absolute link, combining the site's domain and the relative links is up to you. You'll want to look at the .NET Uri class and particularly the Segments property http://msdn.microsoft.com/en-us/library/system.uri.segments.aspx