Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Creates Kindle compatible mobi files of the print edition by scraping it from the economist website
Ruby Shell
Tree: 7764e18c80

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
templates Initial commit of e2k tool

Kindle The Economist


I really enjoy reading The Economist as a less hysteric alternative to German media. Unfortunately, for some reason every other print issue gets lost in the mail leaving me only with the online version of the print edition on which is incompatible with my breakfast table. Since the Kindle version of the Economist has to be subscribed on top of the print edition and I don't see why I should pay twice, I wrote this little scraper script.


This is necessary to run the script:

  • A valid The Economist subscription (linked with your account)
  • Ruby 1.9.1+
  • ImageMagick

If you want your files to be converted to Kindle-compatible mobi files:

  • kindlegen

For direct delivery to your kindle:

  • SMTP server credentials


  1. Download the files from the git repository and put them anywhere on your hd.

  2. Install the bundler Ruby gem:

    gem install bundler

  3. To onstall all dependencies, open a prompt in the kindle-the-economist directory and execute:

    bundle install

  4. If you don't have ImageMagick yet, download and install ( Make sure the ImageMagick binaries (esp. identify and mogrify) are in the path.

  5. You can download kindlegen free of charge ( Put the binary (kindlegen or kindlegen.exe) in the ./bin directory of kindle-the-economist.

  6. Rename config.yml.template to config.yml and change all config values appropriately. The only section strictly required is the "credentials" with your login information. All other sections are optional.


Windows: Execute bin/kte.bat

Linux: Execute bin/

If you run the script without any arguments, the current issue is downloaded. On both platforms you may pass one or more specific issues (by date) for download like so:

kte.[bat/sh] 2011-11-05 2011-11-12 ...

That's it.

Something went wrong with that request. Please try again.