View Single Post
Old 06-28-2012, 08:49 AM   #1
Zeno_
Member
Zeno_ began at the beginning.
 
Zeno_'s Avatar
 
Posts: 21
Karma: 10
Join Date: Jun 2012
Device: Sony PRS-T1
Download ePub from url? [unprotected]

I need to get an ePub from an URL, so for example from:

Code:
http://example.com/download/20120628/20120628download.epub
I have zero Python-knowledge, but I can imagine a part of the script will look like:

Code:
'http://example.com/download/' + %Y + %m + %d + '/' + %Y + %m + %d + 'download.epub'
The ePub is correctly formatted and all, so downloading the ePub and adding it to Calibre is the only thing the recipe needs to do!

Help is greatly appreciated.

Last edited by Zeno_; 06-28-2012 at 08:51 AM.
Zeno_ is offline   Reply With Quote