diff --git a/code/app/task/crawler/CrawlerConfig.php b/code/app/task/crawler/CrawlerConfig.php index 7959bc6..3849640 100644 --- a/code/app/task/crawler/CrawlerConfig.php +++ b/code/app/task/crawler/CrawlerConfig.php @@ -18,6 +18,9 @@ class CrawlerConfig //'伦理片', //'倫理片', '体育赛事', + '斯诺克', '足球', + '篮球', + ]; } diff --git a/code/app/task/crawler/douban/page/VideoCategory.php b/code/app/task/crawler/douban/page/VideoCategory.php index c67480d..b690bad 100644 --- a/code/app/task/crawler/douban/page/VideoCategory.php +++ b/code/app/task/crawler/douban/page/VideoCategory.php @@ -16,13 +16,13 @@ class VideoCategory 2 => [ 'name' => '连续剧', - 'pinyin' => 'lian-xu-ju', + 'pinyin' => 'dian-shi-ju', ], 3 => [ 'name' => '综艺片', - 'pinyin' => 'zong-yi-pian', + 'pinyin' => 'zong-yi', ], 4 => diff --git a/code/app/task/crawler/maotai/Scheduler.php b/code/app/task/crawler/maotai/Scheduler.php index 850dce0..8edd327 100644 --- a/code/app/task/crawler/maotai/Scheduler.php +++ b/code/app/task/crawler/maotai/Scheduler.php @@ -111,7 +111,6 @@ class Scheduler continue; } - $intTotalPage = $arrCategory['total_page']; if(config("video.task_test")){ $intTotalPage = 2 ; // test