Git Product home page Git Product logo

douban-book's Introduction

豆瓣读书同步工具

豆瓣 apikey 失效,项目目前无法使用

简介

利用豆瓣OpenAPI获取个人读书列表并转行为markdown格式。示例: 个人阅读列表

使用

需要maven环境

mvn exec:java -Dexec.mainClass="org.apframework.douban.book.Executor" -Dexec.args="个人豆瓣ID"

或者通过Executor主函数直接运行

说明

获取某个用户的所有图书收藏信息

GET  https://api.douban.com/v2/book/user/:name/collections

book-mark.cache 保存的内容为上次同步书籍id,如需要同步全部书籍,手动删除book-mark.cache文件

示例结果

得到结果格式如下

上次同步的书籍id是:25747852,如果同步全部书籍,请删除 book-mark.cache 文件
| --- | --- |
| 名称:[深入浅出大型网站架构设计](https://book.douban.com/subject/35093372/)<br>时间:2020-07-24<br>出版:2020-5<br>豆瓣:0.0/10<br>个人:3/5<br>Tags: | ![](https://img3.doubanio.com/mpic/s33662223.jpg) |
| 名称:[腾讯产品法](https://book.douban.com/subject/27205096/)<br>时间:2020-07-12<br>出版:2018-1<br>豆瓣:7.4/10<br>个人:3/5<br>Tags:产品经理;产品;互联网 | ![](https://img9.doubanio.com/mpic/s29616635.jpg) |

参考

douban-book's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

dgzhdx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.