[PYTHON] Delete all Readability bookmarks

readability_delete_bookmarks.py


#!/usr/bin/env python

import readability

CONSUMER_KEY = ''
CONSUMER_SECRET = ''
USERNAME = ''
PASSWORD = ''

token = readability.xauth(CONSUMER_KEY, CONSUMER_SECRET, USERNAME, PASSWORD)
rdd = readability.oauth(CONSUMER_KEY, CONSUMER_SECRET, token=token)

for bookmark in rdd.get_me().bookmarks():
    print 'delete %s' % bookmark.article.url
    bookmark.delete()

Recommended Posts

Delete all Readability bookmarks
Delete all Docker Volumes