https://github.com/weakish/douban-cite
Generate book reference based on douban.
https://github.com/weakish/douban-cite
Last synced: about 1 month ago
JSON representation
Generate book reference based on douban.
- Host: GitHub
- URL: https://github.com/weakish/douban-cite
- Owner: weakish
- License: other
- Created: 2015-01-02T14:38:41.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-03-12T18:25:13.000Z (over 7 years ago)
- Last Synced: 2025-02-17T05:47:48.245Z (over 1 year ago)
- Language: Go
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# douban-cite
A book reference generator. Book information is fetched from [douban](http://www.douban.com).
## Installation
go get -u github.com/weakish/douban-cite
Binaries are provided for amd64 machine and windows/linux/osx/freebsd os.
See [Releases] page.
[Releases]: https://github.com/weakish/douban-cite/releases
## Usage
```sh
douban-cite ISBN
```
### Example
```sh
; douban-cite 9780262560993
Daniel P. Friedman, Matthias Felleisen. 1995-12-21. The Little Schemer - 4th Edition[M]. The MIT Press. ISBN 9780262560993
```
Note that the output is meant for manual editing afterwards, since Douban does not provide revision and publisher location.
For example, there are two issues in the above example:
`The Little Schemer - 4th Edition[M].` should be:
The Little Schemer[M]. 4th Edition.
And `The MIT Press.` should be:
Cambridge, MA: MIT Press
## License
0BSD