@feizheng/next-model-douban-book
v1.0.0
Published
Douban book model for next.
Downloads
6
Readme
next-model-douban-book
Douban book model for next.
installation
npm install -S @feizheng/next-model-douban-book
usage
import NxModelDoubanBook from '@feizheng/next-model-douban-book';
const $ = cheerio.load(res, { decodeEntities: false });
const model = new NxModelDoubanBook({ $ });
const res = model.gets();
console.log(res.title);
// 海伯利安
license
Code released under the MIT license.