Blacklist tags when parsing
Author: kaytranceCreated Jun 3, 2021Updated Apr 16, 2025
Hi!
Is there a way to blacklist certain tags so that any text inside them will not be parsed and skipped entirely? For example when I parse a page I want to exclude everything inside <code> or <pre> tags.
Source: codelucas/newspaper