mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-10-20 19:16:43 +02:00
[HeiseBridge] Remove notice of embedded content
The content itself is included (if it's below `noscript iframe`). The notice is unnecessary clutter that is also not displayed in the JS variant of the Heise website.
This commit is contained in:
@@ -178,7 +178,7 @@ class HeiseBridge extends FeedExpander
|
||||
|
||||
// remove unwanted stuff
|
||||
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, div.ho-text, a-img, .opt-in__title,
|
||||
.a-toc__list, a-collapse, .opt-in__description, .opt-in__footnote, .opt-in__bg-image, .notice-banner__text, .notice-banner__link, .ad, .ad--inread') as $element
|
||||
) {
|
||||
$element->remove();
|
||||
|
Reference in New Issue
Block a user