HTML link parsing in c#

Discussion in 'OT Technology' started by [AWD] Major Dumps, Nov 12, 2005.

  1. [AWD] Major Dumps

    [AWD] Major Dumps ahhhh this is a good dump

    Joined:
    Aug 8, 2003
    Messages:
    4,326
    Likes Received:
    0
    Location:
    All like close to Seattle and shit
    So i need to download a html document and pull the links out of it and list them. the links need to be translated into their full format (ie if i get a "../stuff.html" i need to translate it to "http://www.somewhere.com/stuff.html" if you will) and i'd like to figure out how to do this with c#.

    as you can tell, i'm just starting into c# and .net and microsoft classes. this sort of does it, but it's in vb:
    http://www.codeguru.com/vb/vb_internet/html/article.php/c4815/
     
  2. [AWD] Major Dumps

    [AWD] Major Dumps ahhhh this is a good dump

    Joined:
    Aug 8, 2003
    Messages:
    4,326
    Likes Received:
    0
    Location:
    All like close to Seattle and shit
    regular expressions?
     
  3. Frequency

    Frequency New Member

    Joined:
    Dec 30, 2004
    Messages:
    7,504
    Likes Received:
    0
    Location:
    PA
    used to figure out of a value follows certain pattern
    for example the following is email
     

Share This Page