Thread
:
Get article link in preprocess_html()
View Single Post
07-29-2024, 12:21 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, use preprocess_raw_html for that. You can always convert it to soup with self.index_to_soup(raw). Just remember to return str(soup) at the end.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS