Skip to content

Commit

Permalink
fix nn.de description and paywall filter (#4444)
Browse files Browse the repository at this point in the history
  • Loading branch information
theScrabi authored Feb 8, 2025
1 parent 4e678c9 commit dd4dcfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridges/NurembergerNachrichtenBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class NurembergerNachrichtenBridge extends BridgeAbstract
const NAME = 'Nürnberger Nachrichten';
const CACHE_TIMEOUT = 3600;
const URI = 'https://www.nn.de';
const DESCRIPTION = 'Bridge for Bavarian regional news site nordbayern.de';
const DESCRIPTION = 'Bridge for NurembergerNachrichten news site nn.de';
const PARAMETERS = [ [
'region' => [
'name' => 'region',
Expand Down Expand Up @@ -66,7 +66,7 @@ private function handleNewsblock($listSite)
// exclude nn+ articles if desired
if (
$this->getInput('hideNNPlus') &&
str_contains($articleContent->find('article[id=article]', 0)->find('header', 0), 'icon-nnplus')
$articleContent->find('div[class=paywall]')
) {
continue;
}
Expand Down

0 comments on commit dd4dcfa

Please sign in to comment.