Closed superwunc closed 4 years ago
1) pl-loto.json 重命名为 pl-lotto 2) 删除 历史抓取的数据 3) 增加支持分步骤抓取crawl(id), 如果other中的数据没有issue ,则抛出异常 4) console.log 修改为使用系统的log 5) if (XX) return true 修改为 return !!XX
测试爬虫抓取数据 node .\crawler\pl\tests\test-crawler.js 彩票Id 步骤Id 如果没有步骤Id,则抓取返回全部数据 pino的日志,在window上默认输出有乱码,需要在控制台中输入chcp 65001
1) pl-loto.json 重命名为 pl-lotto 2) 删除 历史抓取的数据 3) 增加支持分步骤抓取crawl(id), 如果other中的数据没有issue ,则抛出异常 4) console.log 修改为使用系统的log 5) if (XX) return true 修改为 return !!XX
测试爬虫抓取数据 node .\crawler\pl\tests\test-crawler.js 彩票Id 步骤Id 如果没有步骤Id,则抓取返回全部数据 pino的日志,在window上默认输出有乱码,需要在控制台中输入chcp 65001