HI all, this one is really simple (I hope). I’m using htmlagility pack to do my webcrawling. So what happens if I input url whatever, that then directs me to a new url, how do I capture that new redirected URL?
If htmlagility pack doesnt have a way, can someone suggest another method?
When you create your HttpWebRequest you can set
AllowAutoRedirectproperty to true and it will automatically follow any redirects you have.you can find more info at msdn