S3
s373r/privatediary-downloader
Export your notes from Private Diary (http://privatediary.net/)
Private Diary downloader
Private Diary doesn't have the export feature and API for that, so we need this program ๐
Written with https://github.com/DevExpress/testcafe ๐
Install
$ git clone https://github.com/s373r/privatediary-downloader
$ cd privatediary-downloader
$ npm i
Quick start
$ node . --help # or npm start --helpUsage: privatediary-downloader [options]
Options:
-V, --version output the version number
-u <user>
-p <password>
-b [browser] specify browser to launch (default: "firefox")
-s, --sort [kind] change output sorting kind (choices: "asc", "desc", default: "desc")
-h, --help display help for commandRun grabbing with Firefox:
$ node . -u USER -p PASSWORD
Or if you prefer Google Chrome:
$ node . -u USER -p PASSWORD -b chrome
After that your notes will be saved at output/ directory ๐
Advanced options
List all available browsers:
$ npm run list
Pick one from the previous command output (e.g. Safari) and run:
$ node . -u USER -p PASSWORD -b safari
โ ๏ธ Important note
http://privatediary.net/ works under HTTP (totally unsecure)!
After downloading, please transfer your notes to any modern alternative