Example #1
0
        static void Main(string[] args)
        {
            GzhSearcher gzhs = new GzhSearcher();
            List<Gzh> list= gzhs.Search("识林");

            ArticleSpider aspider=new ArticleSpider();
            aspider.GzhUrl = list[0].GzhUrl;
            aspider.GetArticles();

            Console.Read();
        }
Example #2
0
        static void Main(string[] args)
        {
            GzhSearcher gzhs = new GzhSearcher();
            List <Gzh>  list = gzhs.Search("识林");

            ArticleSpider aspider = new ArticleSpider();

            aspider.GzhUrl = list[0].GzhUrl;
            aspider.GetArticles();

            Console.Read();
        }