hatenadiary-downloader

1.0.3 • Public • Published

hatenadiary-downloader Build Status

はてなダイアリーの記事を一括ダウンロードするツール。

Install

Install with npm:

npm install hatenadiary-downloader -g
# or
npx hatenadiary-downloader [option]

Requirement:

  • Node.js 10+

Usage

Usage
  $ hatenadiary-downloader <URL>

Options:
  --sortOrder "ascending" or "descending" (default: ascending)
  --output -o  output path

Examples
  $ hatenadiary-downloader "http://d.hatena.ne.jp/t-wada/searchdiary?word=*[XP]" -o ./index.html

Examples

特定のダイアリーをすべてダウンロード

hatenadiary-downloader "http://d.hatena.ne.jp/hatenadiary/" -o ./index.html

特定のダイアリーの特定のカテゴリのみをダウンロード

hatenadiary-downloader "http://d.hatena.ne.jp/t-wada/searchdiary?word=*[XP]" -o ./index.html

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm i -d && npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

Thanks

Package Sidebar

Install

npm i hatenadiary-downloader

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

9.11 kB

Total Files

6

Last publish

Collaborators

  • azu