mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 07:09:34 +02:00
[ZeitBridge] Hide magazine ads in articles
Test article: https://www.zeit.de/campus/2025/03/kyoto-university-abschlussfeier-kostueme-japan
This commit is contained in:
parent
d19ce75d4b
commit
1d5bcba41f
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ class ZeitBridge extends FeedExpander
|
|||
$article->find(
|
||||
'aside, .visually-hidden, .carousel-container, #tickaroo-liveblog, .zplus-badge,
|
||||
.article-heading__container--podcast, .podcast-player__image, div[data-paywall],
|
||||
.js-embed-consent, script, nav, .article-flexible-toc__subheading-link, .faq-link'
|
||||
.js-embed-consent, script, nav, .article-flexible-toc__subheading-link, .faq-link,
|
||||
.zoner-article-magazinbox'
|
||||
) as $bad
|
||||
) {
|
||||
$bad->remove();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue