|02-16-2013, 09:04 AM||#20|
Join Date: Aug 2011
Device: Amazon Kindle 3
I've prepared some updates and new recipes. zip. I have also updated Wprost and PC Lab recipes (didn't working at least few months, I'm not an author of these recipes).
Additionally there's a bug (I think) in calibre since 0.9.16. It's do not occur often, for now I noticed it only in one of recipes I made, named FilmWeb. Due this bug images are not downloaded. I've attached full logs in zip archive. Error message is as following:
Traceback (most recent call last): File "site-packages/calibre/web/fetch/simple.py", line 392, in process_images TypeError: must be string, not None
Calibre v0.9.15 download FilmWeb recipe correctly and it (recipe) wasn't changed in calibre 0.9.15 or later versions.
Last thing: relative urls in articles.
Many pages uses relative urls, so if you want follow that link in downloaded ebook, ebook viewer will show an error message like this:
Unable to run the command specified. The file or folder file:///tmp/calibre_0.9.19_tmp_Fte5JQ/e7NVOt_ebook_iter//tmp/calibre_0.9.19_tmp_r4kWHA/3gABsQ_plumber/feed_0/article_0/index.xhtml does not exist.
|02-16-2013, 10:50 AM||#21|
creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
That image download bug only affects gif images and will be fixed in the next release.
You cant use a single url_index variable since every url could have a different base. Try using postprocess_html not preprocess_html to rewrite the links.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|repository with Polish recipes||t3d||Recipes||15||05-22-2012 04:32 AM|
|New polish recipes and english Wikipedia random articles recipe||fenuks||Recipes||0||09-20-2011 03:08 PM|
|A few new and updated recipes (Chinese newspapers)||tylau0||Recipes||0||05-12-2011 11:09 AM|
|All my current (Polish) recipes||matek09||Recipes||1||05-04-2011 04:55 AM|
|Updated Recipes - automatically in Calibre?||warshauer||Recipes||1||10-29-2010 10:03 AM|