remove newsletter ad from finanzflussBridge (#3417)

* remove newsletter ad

* whitespace
This commit is contained in:
Tone 2023-06-02 20:28:29 +02:00 committed by GitHub
parent 1636a84c25
commit 819e453064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,11 @@ class FinanzflussBridge extends BridgeAbstract
$img->srcset = $baseurl . $src;
}
//remove unwanted stuff
foreach ($content->find('div.newsletter-signup') as $element) {
$element->remove();
}
//get author
$author = $domarticle->find('div.author-name', 0);