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 07-31-2024, 07:38 AM   #1
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Dec 2010
Device: kindle
remove_tags won't remove

Hi all,

I'm trying to set up a recipe for mandiner.hu, so far with mixed success. First of all, the builtin recipe does not work at all. When I fix it, I get several problems:

- the output has a lot of errors "Could not fetch image /assets/images..." and "AttributeError: 'str' object has no attribute 'get_full_url'", even when I put dict(name='img') into remove_tags

- other tags in remove_tags also have no effect, the tags are still present in the html output created by ebook-convert "$@" .epub --test -vv --debug-pipeline debug, so I have no means to remove garbage from the html output.

There is probably something obvious I'm missing, but I cannot find any reason why remove_tags would not work. Should I use preprocess_html or even preprocess_raw_html instead?
bubak is offline   Reply With Quote
Old 07-31-2024, 11:44 AM   #2
unkn0wn
Fanatic
unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.
 
Posts: 543
Karma: 82944
Join Date: May 2021
Device: kindle
share your recipe here.. attach it.

I'll try and fix it.
unkn0wn is offline   Reply With Quote
Advert
Old 07-31-2024, 06:36 PM   #3
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Dec 2010
Device: kindle
Hm, I cannot load any articles any more. It seems they are reading this thread and have changed something in there :-( I'll try to find a way nevertheless. BBL
bubak is offline   Reply With Quote
Old 08-01-2024, 12:44 AM   #4
unkn0wn
Fanatic
unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.
 
Posts: 543
Karma: 82944
Join Date: May 2021
Device: kindle
can you find any rss feeds for this website?
it'll be easier.
unkn0wn is offline   Reply With Quote
Old 08-01-2024, 03:19 AM   #5
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Dec 2010
Device: kindle
It seems yesterday was just a glitch, now it is working as expected. Thanks for asking.
bubak is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre won't remove azw3 file JosephFrench Calibre 1 04-01-2019 01:46 PM
Calibre won't remove azw3 drm Zam Calibre 1 06-26-2017 09:00 PM
Different keep_only_tags and remove_tags for different feeds steinarb Recipes 2 07-27-2014 05:07 PM
Kindle Keyboard - Slow and Won't remove Deleted books Tarana Amazon Kindle 8 02-15-2014 10:09 AM
remove_tags does not work JFS-NMF Recipes 1 03-04-2011 02:56 PM


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


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