From 540b4cc8d4547584dbfc1900544929d41085d31b Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Mon, 7 Oct 2024 01:19:09 +0300 Subject: [PATCH] [ArsTechnicaBridge] Remove .toc-container --- bridges/ArsTechnicaBridge.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bridges/ArsTechnicaBridge.php b/bridges/ArsTechnicaBridge.php index 97701f4f..ac722dc9 100644 --- a/bridges/ArsTechnicaBridge.php +++ b/bridges/ArsTechnicaBridge.php @@ -97,6 +97,9 @@ class ArsTechnicaBridge extends FeedExpander foreach ($item['content']->find('.ars-interlude-container') as $ad) { $ad->remove(); } + foreach ($item['content']->find('.toc-container') as $toc) { + $toc->remove(); + } // Mostly YouTube videos $iframes = $item['content']->find('iframe');