|
-
May 11th, 2009, 09:45 PM
#1
Thread Starter
Junior Member
Extract text from html source
i am trying to extract some usernames from a website. normally i dont have a problem and but cant get it to work...here is the code i normally use
For Each temp As HtmlElement In WebBrowser1.Document.Links
Dim str As String = Nothing
str = temp.GetAttribute("href")
If str.Contains("profile") Then
Dim x() As String
x = str.Split("=")
ListBox1.Items.Add(x(1))
End If
str = Nothing
Next
but this is the html code i want to get from
<a href="http://help.com/?status=@astradamasta%20&in_reply_to_status
how would i go about getting the user which is astradamasta
thanks in advance
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|