Giter VIP home page Giter VIP logo

bookp's Introduction

bOOkp

Quick'n'dirty script to download all you Kindle ebooks.

I needed to backup all my Kindle e-books, so put together this script. It does work for now, but a change in the download process will probably break it, and I may not have the time to fix it right away.

You can download all your e-books (that are eligible for download), or you can specify multiple ASINs to download. By default the script will only display warnings, errors, and a finish message. If you want to see progress, you have to use the --verbose flag. Selenium with ChromeDriver is used to handle login, and you can display the browser with --showbrowser - this may come handy if something goes wrong.

The only mandatory command line parameter is the e-mail address associated with your Amazon account, but of course the script will need your password too - it will ask for it if not given as parameter. Keep in mind that passwords given as parameters will probably be stored in you history!

The script will also ask which of your devices you want to download your books to. This is important, because the downloaded books will be DRMd to that particular device. The serial number (which is required to remove DRM) will be printed when the books are downloaded.

Usage

usage: bookp.py [-h] [--verbose] [--showbrowser] --email EMAIL
                [--password PASSWORD] [--outputdir OUTPUTDIR] [--proxy PROXY]
                [--asin [ASIN [ASIN ...]]]

Amazon e-book downloader.

optional arguments:
  -h, --help            show this help message and exit
  --verbose             show info messages
  --showbrowser         display browser while creating session.
  --email EMAIL         Amazon account e-mail address
  --password PASSWORD   Amazon account password
  --outputdir OUTPUTDIR
                        download directory (default: books)
  --proxy PROXY         HTTP proxy server
  --asin [ASIN [ASIN ...]]
                        list of ASINs to download

Requirements

bookp's People

Contributors

sghctoma avatar

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.