0.0.4 • Published 5 years ago
hexo-generator-douban2 v0.0.4
hexo-generator-douban2
Douban page generator plugin for Hexo.
This is a fork from hexo-generator-douban, which use sync-request to get information from douban site. However, when I use travis-ci to publish my blog, this hexo plugin always returns ETIMEOUT, which breaks my blog publish automation. And because my laptop is behind cooperation proxy, above plugin does not support http proxy well.
That's the reason why hexo-generator-douban2 is introduced...
Install
$ npm install hexo-generator-douban2 --save
Options
You can configure this plugin in _config.yml
.
douban:
user: douban_id
- user - Your douban user id.
- requests_method - sequential(default)/parallel HTTP requests
- books_per_request - Books per API request, default 50, max 100
Demo
See demo.