Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 10-16-2020, 03:53 AM   #1
njpig
Zealot
njpig began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Sep 2020
Device: kindle paperwhite3/Oasis2
The economist.recipe I customized

Hello,

As I learned a lot from Calibre and read a lot of articles I got via recipe, I would like share economist recipe I customized based on the original recipe from calibre v4.23.0.
1. economist.recipe is the original file
2. 2_Economist.recipe is the one I customized which fixed some minor issues(some articles can not be fetched occasionally; tried to create more internal link)
Attached Files
File Type: recipe 2_Economist.recipe (15.6 KB, 217 views)
File Type: recipe economist.recipe (11.5 KB, 192 views)
njpig is offline   Reply With Quote
Old 10-16-2020, 07:45 PM   #2
njpig
Zealot
njpig began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Sep 2020
Device: kindle paperwhite3/Oasis2
Quote:
Originally Posted by njpig View Post
Hello,

As I learned a lot from Calibre and read a lot of articles I got via recipe, I would like share economist recipe I customized based on the original recipe from calibre v4.23.0.
1. economist.recipe is the original file
2. 2_Economist.recipe is the one I customized which fixed some minor issues(some articles can not be fetched occasionally; tried to create more internal link)
fix a bug.
Attached Files
File Type: recipe 2_Economist.recipe (15.6 KB, 175 views)
njpig is offline   Reply With Quote
Advert
Old 10-19-2020, 10:11 PM   #3
rasteps
Zealot
rasteps began at the beginning.
 
Posts: 131
Karma: 10
Join Date: Sep 2010
Device: Kindle, Android phone
I just tried to check out your new recipe and got the following error:

calibre, version 5.3.0
ERROR: Invalid recipe: Failed to compile the recipe, with syntax error: No module named 'urllib2'
rasteps is offline   Reply With Quote
Old 10-20-2020, 01:04 AM   #4
njpig
Zealot
njpig began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Sep 2020
Device: kindle paperwhite3/Oasis2
Sorry, it did not work with version > 5.0.0.

I have not merged it to latest version yet.

But I think you can make some minor changes in order to work with 5.3. BTW, I think 5.x.x works with python3 while 4.23.0 works with python2

Last edited by njpig; 10-20-2020 at 01:06 AM.
njpig is offline   Reply With Quote
Old 10-22-2020, 06:32 AM   #5
rasteps
Zealot
rasteps began at the beginning.
 
Posts: 131
Karma: 10
Join Date: Sep 2010
Device: Kindle, Android phone
Quote:
Originally Posted by njpig View Post
Sorry, it did not work with version > 5.0.0.

I have not merged it to latest version yet.

But I think you can make some minor changes in order to work with 5.3. BTW, I think 5.x.x works with python3 while 4.23.0 works with python2
Ah... I'll just have to try it with the portable version of 4.23
rasteps is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Economist Recipe NSILMike Recipes 6 05-20-2016 07:40 AM
Economist Recipe Dhruv Recipes 5 10-10-2014 08:15 PM
Economist Recipe timing out alessandro Recipes 3 03-12-2014 06:54 AM
Economist recipe... RobbieW Recipes 2 10-03-2013 05:01 PM
Economist recipe jdomingos76 Recipes 1 03-08-2011 08:33 AM


All times are GMT -4. The time now is 06:59 AM.


MobileRead.com is a privately owned, operated and funded community.