Skip to content

Commit

Permalink
[HeiseBridge] Remove archive link for heise+
Browse files Browse the repository at this point in the history
archive.ph is also not able to provide the full content of paywalled
heise+ articles.
  • Loading branch information
Mynacol committed Aug 27, 2023
1 parent c3b5b38 commit 999d5dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bridges/HeiseBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,8 @@ protected function parseItem($feedItem)
if (strpos($item['uri'], 'https://www.heise.de') !== 0) {
return $item;
}

// abort on heise+ articles and link to archive.ph for full-text content
// abort on heise+ articles
if ($sessioncookie == '' && str_starts_with($item['title'], 'heise+ |')) {
$item['uri'] = 'https://archive.ph/?run=1&url=' . urlencode($item['uri']);
return $item;
}

Expand Down

0 comments on commit 999d5dc

Please sign in to comment.