InstaFetcher 1.2

Change the username and password in bin/instafetcher.sh and download your Instapaper to your Kindle whenever you want!
If you want to add multiple instapaper accounts, just replace "menu.json" file with "menu_for_multiple_accounts.json", and add your accounts credentials in instafetcher2.sh and instafetcher3.sh script. Uncomment the #folder="/1234567" and change its number to address your instapaper accounts subfolders (other then "Read later" one)

This little Kindle Touch hack adds the option "Fetch Instapaper Articles" to the GUI launcher provided by YiFanLu. (http://wiki.mobileread.com/wiki/Kindle_Touch_Hacking#GUI_Launcher)
It will download a .mobi (or .epub) ebook from instapaper containing your Read Later articles. 

Statically linked curl binary is provided because native curl on the Kindle doesn't support cookies (Thanks to NiLuJe). This should work on K4 and was tested K5 Touch.





CREDITS:
curl: cURL, Copyright (C) 1996 - 2012, Daniel Stenberg, <daniel@haxx.se>, licensed under a MIT/X derivate license (http://curl.haxx.se/docs/copyright.html).
(http://curl.haxx.se/)

    |
    `->   OpenSSL, Copyright (C) 1998-2011 The OpenSSL Project. SSLeay, Copyright (C) 1995-1998 Eric Young,
        Licensed under an Apache-style licence (http://openssl.org/source/license.html).
        (http://openssl.org/)

