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:
parent
37174f01e5
commit
0088822ffc
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user