Last active
October 12, 2015 00:18
-
-
Save ideabucket/3941972 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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=%%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am reminded how awesome this is.