[PYTHON] Löschen Sie alle Lesefähigkeits-Lesezeichen

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

Löschen Sie alle Lesefähigkeits-Lesezeichen