0
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-28 14:25:41 +00:00

[HeiseBridge] remove "videos by heise" ads

This commit is contained in:
Tone 2025-08-12 20:55:40 +02:00 committed by GitHub
parent 37174f01e5
commit 0088822ffc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,7 +162,7 @@ class HeiseBridge extends FeedExpander
// remove unwanted stuff // remove unwanted stuff
foreach ( foreach (
$article->find('figure.branding, figure.a-inline-image, a-ad, div.ho-text, a-img, $article->find('figure.branding, figure.a-inline-image, a-ad, .ad, div.ho-text, a-img,
.a-toc__list, a-collapse, .opt-in__description, .opt-in__footnote, .notice-banner__text, .notice-banner__link') as $element .a-toc__list, a-collapse, .opt-in__description, .opt-in__footnote, .notice-banner__text, .notice-banner__link') as $element
) { ) {
$element->remove(); $element->remove();