Skip to content

Commit

Permalink
[ArsTechnicaBridge] Remove .toc-container
Browse files Browse the repository at this point in the history
  • Loading branch information
SqrtMinusOne committed Oct 6, 2024
1 parent 4b2901d commit 540b4cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bridges/ArsTechnicaBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ protected function parseItem(array $item)
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');
Expand Down

0 comments on commit 540b4cc

Please sign in to comment.