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.

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i hexo-generator-douban2

    Weekly Downloads

    1

    Version

    0.0.4

    License

    ISC

    Unpacked Size

    15 kB

    Total Files

    5

    Last publish

    Collaborators

    • wangkexiong