Thread
:
How to remove an article which contains "this article was sponsored" in the text ?
View Single Post
10-18-2020, 01:02 PM
#
2
kovidgoyal
creator of calibre
Posts: 45,424
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Implement preprocess_raw_html in your recipeand call self.abort_article() inside it if you want to skip the article.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS