mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-06-25 12:24:11 +02:00
removing a-collapse (#3394)
it is only used for ads for their magazine e.g.: https://www.heise.de/news/Eventtipps-fuer-Fotografen-und-Fotografiebegeisterte-9010049.html?seite=all
This commit is contained in:
@ -150,7 +150,7 @@ class HeiseBridge extends FeedExpander
|
||||
$article = defaultLinkTo($article, $item['uri']);
|
||||
|
||||
// remove unwanted stuff
|
||||
foreach ($article->find('figure.branding, a-ad, div.ho-text, a-img, .opt-in__content-container, .a-toc__list') as $element) {
|
||||
foreach ($article->find('figure.branding, a-ad, div.ho-text, a-img, .opt-in__content-container, .a-toc__list, a-collapse') as $element) {
|
||||
$element->remove();
|
||||
}
|
||||
// reload html, as remove() is buggy
|
||||
|
Reference in New Issue
Block a user