Thread
:
Request: Substack recipe that excludes paid posts
View Single Post
09-07-2023, 04:19 AM
#
2
kovidgoyal
creator of calibre
Posts: 44,017
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
you can call self.abort_article inside the preprocess_html() method if you detect it is not an article you want. That method has access to the article contents.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS