public void GetContentTest() { News163Crawler news163Crawler = new News163Crawler(1, false); news163Crawler.GetContent(); }
public void GetCaseTest() { News163Crawler news163Crawler = new News163Crawler(1, false); // news163Crawler.GetCase("http://news.163.com/18/0228/10/DBNO36NO000189FH.html","//*[@id=\"epContentLeft\"]/div[1]", "//*[@id=\"endText\"]/p", "GBK"); }