Configure src/config.js
dateFrom: // default is today
dateTo: // default is today
Start to crawl in above date range
yarn crawl
- Use mongo Studio 3T to import
output/json/*
intomongodb.xoso.daily_result
You must choose the specific needed date, do not choose redundant date
Query the last date exist in db:
db.getCollection("daily_result_lo27").find({}).sort({date: -1})
- Use
node src/tools/ConvertDailyToLo27.js
to generateoutput/lo27
- Use mongo Studio 3T to import
output/lo27/*
intomongodb.xoso.daily_result_lo27
You must choose the specific needed date, do not choose redundant date