Example #1
0
        /// <summary>
        /// 将头条文章保存到数据库中
        /// </summary>
        /// <param name="ur"></param>
        /// <returns></returns>
        public RES SaveTouTiaoArticleToDB(string url)
        {
            var res     = RES.New;
            var article = YunSpider.GetInst().GetTouTiaoArticle(url);

            res = new YunForm {
            }.Save();
            return(res.SetAsOK(article));
        }
Example #2
0
        public static YunSpider GetInst()
        {
            var inst = new YunSpider();

            return(inst);
        }