Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Extracting info from a remote web site

Extracting info from a remote web site

Scheduled Pinned Locked Moved Visual Basic
csharpsysadmindata-structuresjson
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    HELP I am writing a vb.net app to log in to a remote web site, sift through the menu href links and extract useful information. I have the program connecting to the remote url, loading the page into a string, parsing the string and forming an array of url's containing the information pages. This part works well. Unfortunately the second level pages require a login process which redirects to a login asp page, posts username and password values to the server and sets cookies on the local machine. My code returns an exception - the remote server returns a (404) not found" on the I am having trouble finding example code for getting around basic problems: - detecting whether it has been redirected - posting the username/password values to the login page - handling the server's cookie Any suggestions???? :eek:

    N 1 Reply Last reply
    0
    • L Lost User

      HELP I am writing a vb.net app to log in to a remote web site, sift through the menu href links and extract useful information. I have the program connecting to the remote url, loading the page into a string, parsing the string and forming an array of url's containing the information pages. This part works well. Unfortunately the second level pages require a login process which redirects to a login asp page, posts username and password values to the server and sets cookies on the local machine. My code returns an exception - the remote server returns a (404) not found" on the I am having trouble finding example code for getting around basic problems: - detecting whether it has been redirected - posting the username/password values to the login page - handling the server's cookie Any suggestions???? :eek:

      N Offline
      N Offline
      Niels Penneman
      wrote on last edited by
      #2

      Maybe I can help... I worked on a MSNP9 implementation and used HTTPS authentication, maybe it will not differ much from what you want to do... Send your code and I'll see what I can do greetz ;-) *Niels Penneman*


      Software/Dev Site
      Personal Site


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups