Coder Social home page Coder Social logo

douban-export's Introduction

豆瓣导出工具

工具包含 Python 版本和 JavaScript 版本。

Python

Python 版本基于 Python 3.6.x ,其他版本暂未测试。

主要实现:

  • 电影导出
  • 书籍导出
  • 音乐导出
  • 日记导出

result

关于豆瓣相册导出可以参考我 这个 项目。

命令使用

设置

douban-export setup

输入 uesr id,会将用户ID保存到 HOME 目录的 ~/.douban-export 文件中,如果预先设置,一下的命令可以省略 -u 选项。

导出电影

douban-export movie -u einverne -t wish -o wish_movie.csv

说明:

  • -t 参数可以选择 collect 看过,wish 想看, doing 在看

导出书籍

douban-export book -u einverne -t wish -o wish_book.csv

同理

douban-export music -u einverne -t wish -o wish_music.csv

JS

userscript 主要来自于

  • douban-book-export.user.js
  • douban-movie-export.user.js

分别来自于:

OpenUserJS

DannyVim

reference

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.