Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-31-2024, 06:38 AM   #1
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
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, 10:44 AM   #2
unkn0wn
Guru
unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.
 
Posts: 642
Karma: 85520
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, 05:36 PM   #3
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
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 07-31-2024, 11:44 PM   #4
unkn0wn
Guru
unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.
 
Posts: 642
Karma: 85520
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, 02:19 AM   #5
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
It seems yesterday was just a glitch, now it is working as expected. Thanks for asking.
bubak is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 12:26 AM.


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