Results 1 to 25 of 25

Thread: Scraping Links from Web??? help please?

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2006
    Posts
    15

    Scraping Links from Web??? help please?

    I am using webbrowser control to login to a webpage and auto submit login, email and password with this code:
    VB Code:
    1. Webbrowser1.Document.All("usrname").Focus()
    2.         Webbrowser1.Document.ActiveElement.InnerText = txt_user.Text
    3.         Webbrowser1.Document.All("uemail").Focus()
    4.         Webbrowser1.Document.ActiveElement.InnerText = txt_email.Text
    5.         Webbrowser1.Document.All("peeword").Focus()
    6.         Webbrowser1.Document.ActiveElement.InnerText = txt_pass.Text
    7.         Webbrowser1.Document.Forms(0).InvokeMember("Submit")

    Yes, I'm a noob but it works so after a long time finding out vb.net 2005 didn't support formname.submit() I was very happy to get this working

    Anyhow, I am now trying to use webbrowser control to scrape links with stats.php?id=6digit#here in it's link. I've tried everything I can possibly think of over the past few days and am lost. ANY help will be much appreciated. Thanks


    Kevin
    Last edited by khuntballa; Jul 29th, 2006 at 08:44 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width