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:
parent
0c540b4637
commit
ecd717cf58
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user