|
-
Dec 31st, 2010, 02:40 PM
#8
Re: Scrape a href from HTML but the right one.
He said he DOESN'T want the ones that say "Reply to this", but the IF condition says "if it DOES contain that". Wouldn't it be "If Not h.InnerText.ToLower.Contains("reply to this") Then" ?
Also, +1 on the relative URL path. He'll need to append the whole domain name to it. To be even more accurate, before navigating, take the current URL, lop off the filename and append that to the beginning. The forums could be 9 directories deep for all we know.
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
|