Beispiel #1
0
        public void Run()
        {
            LogHelper.Info("Start crawling");
            Btdytt520MovieCrawler.CrawlHostMovieInfo();
            Dy2018MovieCrawler.CrawlLatestMovieInfo();
            Dy2018MovieCrawler.CrawlHotMovie();

            LogHelper.Info("Finish crawling");
        }
        /// <summary>
        /// 刷新当前数据
        /// </summary>
        /// <returns></returns>
        public IActionResult RefreshMovie()
        {
            LogHelper.Info("RefreshMovie Start crawling");
            Btdytt520MovieCrawler.CrawlHostMovieInfo();
            Dy2018MovieCrawler.CrawlLatestMovieInfo(50);
            Dy2018MovieCrawler.CrawlHotMovie();

            LogHelper.Info("RefreshMovie Finish crawling");
            return(View());
        }