This is a general question regarding web scraping.
When I web scrape certain sites. I receive a messages like this:
Your browser must have browser cookies turned on
I've been searching around for a solution and i'm guessing its something to do with storing cookies? I'm new to this so any guidance would be appreciated.
var getHtmlWeb = new HtmlAgilityPack.HtmlWeb();
getHtmlWeb.UseCookies = true;
just add getHtmlWeb.UseCookies = true;
You need to enable cookies in the browser you are using . The following wiki will guide you depending on which browser you are using.
http://www.wikihow.com/Enable-Cookies-in-Your-Internet-Web-Browser
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.