11 lines
381 B
Bash
11 lines
381 B
Bash
#!/bin/bash
|
|
Username="MarcHoppe@gmx.de"
|
|
Password="insta0815"
|
|
Docs=~/Documents
|
|
OutputDir=~/Documents/ePub
|
|
|
|
curl --cookie-jar ${Docs}/cjar --data "username=$Username" -d "password=${Password}" --output ${Docs}/insta.html http://www.instapaper.com/user/login
|
|
curl -b ${Docs}/cjar --output ${OutputDir}/insta.epub http://www.instapaper.com/epub
|
|
rm -f ${Docs}/cjar ${Docs}/insta.html
|
|
|