Nanotech Parading Mars
Learn how companies like Phone2Action are using npm in their front-end developmentJoin the conversation »

hexo-generator-douban2

0.0.4 • Public • Published

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.

Install

npm i hexo-generator-douban2

DownloadsWeekly Downloads

3

Version

0.0.4

License

ISC

Unpacked Size

15 kB

Total Files

5

Last publish

Collaborators

  • avatar