Question Get webpage source

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
I am trying to get the source of a webpage then parse it to find a link. I tried using webbrowser but the page contain sound and images that i dont want. and the webbrowser.documentText is in one big block without any line breaks. I also tried using HttpWebRequest but all it gets me is the login page source. With webbrowser, it only goes to login page the first time, and never again. Probably saved in cookie. How can i get the source line by line, not one big block, in the background without it making any noise or forever in loading the images?
 
Back
Top