I'm using c# and I'm trying to scrape information from a Chinese government site and I can't seem to get a thing. The site in question is http://www.ajxxgk.jcy.gov.cn/html/zdajxx/index.html.
However when I try to pull the page's html I keep getting this error. Is there a way around it?
class Program
{
static void Main(string[] args)
{
var program = new Program();
var data = program.htmlReturn("http://www.ajxxgk.jcy.gov.cn/html/zdajxx/4.html");
}
public string htmlReturn(string link)
{
using (WebClient client = new WebClient())
{
string htmlCode = client.DownloadString(link);
return htmlCode;
}
}
}
Also, I can access the site normally and navigate it.