From a73b66f4d63766e42e6c772fe5d096e11de2a753 Mon Sep 17 00:00:00 2001 From: Dag Date: Wed, 10 Apr 2024 18:32:48 +0200 Subject: [PATCH] fix(ScientificAmericanBridge) (#4070) --- bridges/ScientificAmericanBridge.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bridges/ScientificAmericanBridge.php b/bridges/ScientificAmericanBridge.php index d575bf94..da52e0ad 100644 --- a/bridges/ScientificAmericanBridge.php +++ b/bridges/ScientificAmericanBridge.php @@ -66,7 +66,7 @@ class ScientificAmericanBridge extends FeedExpander private function collectIssues() { $html = getSimpleHTMLDOMCached(self::ISSUES); - $content = $html->getElementById('content')->children(3); + $content = $html->getElementById('app')->children(3); $issues = $content->children(); $issues_count = min( (int)$this->getInput('parseIssues'), @@ -125,6 +125,7 @@ class ScientificAmericanBridge extends FeedExpander private function updateItem($item) { + return $item; $html = getSimpleHTMLDOMCached($item['uri']); $article = $html->find('#sa_body', 0)->find('article', 0);