mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-25 19:06:23 +03:00
[HeiseBrige] fix: broken bridge
This is a feed expander and heise sometimes includes feed items which point to https://www.techstage.de for which we dont have parsing for.
This commit is contained in:
parent
4d4ce3f380
commit
b144ab2bd7
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ class HeiseBridge extends FeedExpander {
|
|||
$item = parent::parseItem($feedItem);
|
||||
$item['uri'] = explode('?', $item['uri'])[0] . '?seite=all';
|
||||
|
||||
if (strpos($item['uri'], 'https://www.heise.de') !== 0) {
|
||||
return $item;
|
||||
}
|
||||
|
||||
$article = getSimpleHTMLDOMCached($item['uri']);
|
||||
|
||||
if ($article) {
|
||||
|
|
Loading…
Reference in a new issue