Skip to content

v1.4.5 - Ghost/404media extraction fix

Choose a tag to compare

@mahope mahope released this 24 Aug 16:55
· 19 commits to main since this release

Fixes URL extraction on Ghost-based news sites (404media.co):

  • Depth-matched boilerplate/ad container removal replaces the fragile tempered-dot regex (a dangling aside close tag used to swallow main and leak ad chrome into the output).
  • New ad-container strip (.ad, .ad-leaderboard, ...) removes ad blocks embedded inside the article container.
  • Token-exact class matching: has-sidebar on the whole article no longer causes the article to be removed.
  • Live regression tests added for ghost.org and 404media.co - 32 passing.