![]() |
#1 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Nov 2024
Device: Tolino 4HD
|
Download several entites of a reciepe
Hi,
I use the Heise CT recipe to get my online Magazines as a ePub. Anyway, if I want to get older versions of the Magazine, I have to set manually in the Recipe the variable issue to a version I want to get (for example issue ='2024/19' My question is, if this could be somewhere automatized. For example like a loop wich goes thru all of year. Or that the start of the recipe is asking for the recipe number? A loop I'm not sure (I guess python has loops, that's not the issue ![]() I hope my question is clear enough. Thanks for any help. BR MP |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cant do that within a recipe. Instead use a variable in the recipe and write a script that downloads it using the ebook-convert command line tool changing the value of the variable via the --recipe-specific-option command line flag.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Nov 2024
Device: Tolino 4HD
|
OK, after several research and trys I bring it up to work, but I still have some questions:
I could call the recipe to start in this wy: Code:
ebook-convert "C:\Users\Dirk\AppData\Roaming\calibre\custom_recipes\Heise ct_1001.recipe" "Heise Ct 2024-01.epub" --recipe-specific-option issue:/select/ct/2024/01 - the recipe needs login, but the login values are not used which are set in properties of the reciepe. How could I overhand them (currently I use a workaround to directly set the values in the reciepe, but this is not 'nice' - the calibre-convert does not take care the rule wich defines how the ebook should be named, it must be the second parameter. of course I can live with that. - the calibre-convert does not store the generated epub automatically in the library. I have to import them then manually (or I have to use the automatic folder check). - calibre-convert does not respect the CALIBRE_DEVELOP_FROM parameter, and only the Standard installation will be used, even that I made some changes in src path. so for me the calibre-convert looks like a little bit extra/outside of the calibre environment. Again, could live with it, but just wondering. And also thanks for the very good program and the support. This could not be less higly apreciated ![]() MP |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
--username and --password
Use calibredb command to add files to the calibre library ebook-convert most definitely respects CALIBRE_DEVELOP_FROM |
![]() |
![]() |
![]() |
#5 | ||
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Nov 2024
Device: Tolino 4HD
|
Ah, of course, I have to better read the docu
![]() Quote:
Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Nov 2024
Device: Kobo Clara HD
|
Download several entites of a reciepe
Hi,
I use the Heise CT recipe to download my online magazines as ePubs. However, when I want older issues, I manually set the `issue` variable in the recipe to the desired version (e.g., `issue = '2024/19'`). My question is whether this process could be automated. For instance, could a loop go through all issues for a given year, or could the recipe prompt me to enter the issue number when it starts? I’m familiar with Python loops so that part isn’t the challenge. My main concern is ensuring that each magazine is saved as a separate ePub. I hope my question is clear. Thanks in advance for any help. |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Your question was answered here.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Download (Download all) Personal documents from Amazon | Bratnikotin | Amazon Kindle | 2 | 06-21-2020 09:58 PM |
Troubleshooting Kindle device download hang / Kindle App download failure | IsraeliReader | Amazon Kindle | 2 | 10-28-2016 11:18 AM |
Why tags download only after second click on "Download metadata"? | fufu42 | Library Management | 2 | 12-08-2012 12:08 PM |
Does "Download Metadata & Covers" also download social metadata? | iridius | Library Management | 3 | 02-22-2011 12:50 PM |