[HeiseBridge] Remove archive link for heise+

archive.ph is also not able to provide the full content of paywalled
heise+ articles.
This commit is contained in:
Mynacol 2023-08-27 12:54:02 +02:00 committed by Paul
parent c3b5b382ba
commit 999d5dce40

View file

@ -137,10 +137,8 @@ class HeiseBridge extends FeedExpander
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;
}