Skip to content

Commit

Permalink
remove newsletter ad from finanzflussBridge (#3417)
Browse files Browse the repository at this point in the history
* remove newsletter ad

* whitespace
  • Loading branch information
Tone866 authored Jun 2, 2023
1 parent 1636a84 commit 819e453
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bridges/FinanzflussBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ public function collectData()
$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);

Expand Down

0 comments on commit 819e453

Please sign in to comment.