NewGaoKaoApi/New_Spider/Program.cs

38 lines
1.1 KiB
C#

using HtmlAgilityPack;
using New_College.Common.Helper;
using New_Spider;
using System.Text.RegularExpressions;
//HtmlAgHelper htmlAgHelper = new HtmlAgHelper();
//htmlAgHelper.HtmlCreatePageData();
//HtmlAgMajorHelper agMajorHelper = new HtmlAgMajorHelper();
//agMajorHelper.DownloadTypeListFile();
//agMajorHelper.DownloadChildTypeListFile();
//HtmlAgNewsHelper agNewsHelper = new HtmlAgNewsHelper();
//agNewsHelper.HtmlCreatePageData();
//agNewsHelper.HtmlSpiderYangGuangData();
//var result = XIAO_ETONG.Xiao_EtongApp.xiao_Etong_token(new XIAO_ETONG.app_token()
//{
// app_id = "appn9m3yups9098",
// client_id = "xopvGAr405P6261",
// grant_type = "client_credential",
// secret_key = "AeHT1p4GzDYZuaBLZYOBa0r2Npp22uWv"
//}, "https://api.xiaoe-tech.com/");
//Console.WriteLine(result.ToJson());
// See https://aka.ms/new-console-template for more information
//XueHtmlAgHelper xueHtmlAg = new XueHtmlAgHelper();
QingTingSpiderHelper tingSpiderHelper=new QingTingSpiderHelper();
tingSpiderHelper.HtmltwlItemsData();
//xueHtmlAg.GetDataRecruitDetail();
Console.WriteLine("success!");
Console.Read();