link_scrubber processes all of your pinboard.in bookmarks, looking for those that redirect. It adds a new bookmark with the target of the redirect and all the same metadata from the original link.
With the [announcement that Google Reader is being
I decided I needed to go through my http://pinboard.in bookmarks and
update any that point to a
feedproxy.google.com URL while their
redirecting service is still online. This script does that
linkscrubber processes all of your bookmarks, looking for those that
redirect. It adds a new bookmark with the target of the redirect and
all the same metadata from the original link. By default, only URLs
feedproxy.google.com are processed, but there are command line
options to process all redirects or to add more individual sites.
The links are processed in small batches to reduce the load of individual calls against the pinboard API server, so it can take a while to process. Once a batch of links is fetched, it is checked in parallel to speed things up a little.
See the README for details on installing and running.