I have been trying to use the htmlagilitypack through a proxy and I see that I get some unpredictable behavior.
How do you add credentials to htmlagilitypack so that it will be able to scrape web pages through a proxy?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is what I usually do:
You could encapsulate this code on a method that given a url, returns a
HtmlDocumentobject.