static void Main(string[] args)
 {
     GetIhChina.StartReptile().Wait();
     //GetForumsWorker.GetForumsList();
     //GetSpecialTopicWorker.GetSpecialTopic();
     // GetNewsDetail.GenerateNewsDetail(@"http://www.ihchina.cn/news_details/18992.html");
     //GetHeritageProjects.GetHeritageProject();
     //GetHeritageProjectDetailWorker.GenerateCCRDetail("http://www.ihchina.cn/ccr_detail/719");
 }
 public static void Main(string[] args)
 {
     if (!DebugHelperTools.IsDebugMode())
     {
         Task.Run(async() =>
         {
             await GetIhChina.StartReptile();
         });
         System.Timers.Timer timer = new System.Timers.Timer();
         timer.Enabled  = true;
         timer.Interval = TimeSpan.FromDays(1).TotalMilliseconds;
         timer.Start();
         timer.Elapsed += (o, e) =>
         {
             Task.Run(async() =>
             {
                 await GetIhChina.StartReptile();
             });
         };
     }
     CreateWebHostBuilder(args).Build().Run();
 }