crawler: python: path: C:/Python312/python.exe base: path: F:/Project/schoolNews/schoolNewsCrawler crontab: items: #可供前端选择的定时任务列表 - name: 人民日报新闻爬取 methods: #爬取方式 - name: 关键字搜索爬取 class: org.xyzh.crontab.task.newsTask.NewsCrawlerTask path: crawler/xxx.py params: query: String #搜索关键字 total: Integer #总新闻数量 - name: 排行榜爬取 class: org.xyzh.crontab.task.newsTask.NewsCrawlerTask path: crawler/xxx.py - name: 往日精彩头条爬取 class: org.xyzh.crontab.task.newsTask.NewsCrawlerTask path: crawler/xxx.py params: startDate: String #开始日期 endDate: String #结束日期 isYestoday: Boolean #是否是昨天