Export your doit.im tasks and daily reviews to local JSON files.
# Install packages
npm install
# Build
npm run compile
- You can use
node dist/doit.js
to replace thenpm run start --
command; - Set
--debug
tofalse
to launch Chromium headless; - Crawler goes backwards from today and stops on the date specified by
--start
;
# Show help
npm run start
# or
npm run start -- --help
# Crawl tasks archive page
npm run start -- task --debug true --username "[email protected]" --password "password" --start "2014-10-01"
# Crawl daily review page
npm run start -- review --debug true --username "[email protected]" --password "password" --start "2014-10-01"
To debug the code, copy launch.json.sample
in .vscode
to launch.json
, provide your username and password in it.
Then you are ready to debug the code in Visual Studio Code.
There are two default debug configurations to choose: Launch Task Command
and Launch Review Command
.
DO NOT commit launch.json
to a public repository if it contains your password.