A script for backing up bookmarks from your Instapaper account
Python
Latest commit a591d98 Feb 11, 2017 @alexwlchan Spot the copy and paste
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.rst
backup_instapaper.py
requirements.txt

README.rst

backup-instapaper

This is a Python script for backing up your bookmarks from Instapaper. It mimics the HTML/CSV export function provided by Instapaper, but in script form.

Installation

This script can run in Python 2 or Python 3. Create a virtualenv and install dependencies:

$ git clone git@github.com:alexwlchan/backup-instapaper.git
$ cd backup-instapaper
$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt

You also need to get an OAuth key/secret for the Instapaper API. You can register for these on the Instapaper website.

Usage

Run the script, passing your username, password, and API keys as command-line flags:

$ python backup_instapaper.py --username=USERNAME --password=PASSWORD --oauthkey=OAUTHKEY --oauthsec=OAUTHSEC

This will write your bookmarks to instapaper_bookmarks.json.

For all the options, use the --help flag:

$ python backup_instapaper.py --help

License

This script is licensed under the MIT license.