Webclient and Language
问题 I want to scrape google suggest in german language: string url = "http://google.de/complete/search?output=toolbar&q=" + txtResults.Lines[i].Replace(" ", "%20%"); WebClient client = new WebClient(); client.Headers.Add("User-Agent", "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0"); client.Headers.Add("Accept-Encoding:", "gzip, deflate"); client.Headers.Add("Connection:", "keep-alive"); doc.Load(client.OpenRead(url), System.Text.Encoding.UTF8, true); But i always get