1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-31 13:50:23 +02:00

fix(ScientificAmericanBridge) (#4070)

This commit is contained in:
Dag
2024-04-10 18:32:48 +02:00
committed by GitHub
parent 815dc180cc
commit a73b66f4d6

View File

@@ -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);