Exemple #1
0
 public void Run()
 {
     LogHelper.Info("Start crawling");
     Btdytt520MovieCrawler.CrawlHostMovieInfo();
     Dy2018MovieCrawler.CrawlHotMovie();
     Dy2018MovieCrawler.CrawlMovieInfo();
     LogHelper.Info("Finish crawling");
 }
 /// <summary>
 /// 刷新当前数据
 /// </summary>
 /// <returns></returns>
 public IActionResult RefreshMovie()
 {
     LogHelper.Info("Start crawling");
     Btdytt520MovieCrawler.CrawlHostMovieInfo();
     Dy2018MovieCrawler.CrawlHotMovie();
     Dy2018MovieCrawler.CrawlMovieInfo();
     LogHelper.Info("Finish crawling");
     return(View());
 }