[ArsTechnicaBridge] Remove .toc-container

This commit is contained in:
SqrtMinusOne 2024-10-07 01:19:09 +03:00
parent 4b2901d8f4
commit 540b4cc8d4

View File

@ -97,6 +97,9 @@ class ArsTechnicaBridge extends FeedExpander
foreach ($item['content']->find('.ars-interlude-container') as $ad) { foreach ($item['content']->find('.ars-interlude-container') as $ad) {
$ad->remove(); $ad->remove();
} }
foreach ($item['content']->find('.toc-container') as $toc) {
$toc->remove();
}
// Mostly YouTube videos // Mostly YouTube videos
$iframes = $item['content']->find('iframe'); $iframes = $item['content']->find('iframe');