Skip to content

Instantly share code, notes, and snippets.

@ideabucket
Last active October 12, 2015 00:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ideabucket/3941972 to your computer and use it in GitHub Desktop.
Save ideabucket/3941972 to your computer and use it in GitHub Desktop.
# how to migrate your Pocket reading list to Instapaper on the command line, by request from @rmi
# how to avoid getting blocked for exceeding the Instapaper API rate limit is left as an exercise for the reader
#
# yes, of course this is completely ridiculous
$ curl "https://readitlaterlist.com/v2/get?username=name&password=123&apikey=yourapikey" | \
jq '.list[].url' | \
tr -d \" | \
xargs -I %% curl "https://www.instapaper.com/api/add" -G --data "username=name" --data "pass=1234" --data-urlencode "url=%%"
@sargeant
Copy link

sargeant commented Mar 3, 2013

I am reminded how awesome this is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment