douban-cli

Douban-cli is a command-line tool for finding information about books and movies.

Usage no npm install needed!

<script type="module">
  import doubanCli from 'https://cdn.skypack.dev/douban-cli';
</script>

README

Douban-cli is a command-line tool for finding information about books and movies.

Install

Install using npm:

$ npm install douban-cli -g

Print a book's information:

$ douban book -n 小王子

Print a movie's information:

$ douban mov -n 阿甘正传

Tip: If your book (or movie) name contains spaces, please use quotes around it, like this:

$ douban book -n 'Harry Potter'

other:

Because I use the API provided by douban.com, I can't guarantee the stability of this package.

License

The MIT License (MIT)