Skip to content

Commit

Permalink
fix(ScientificAmericanBridge) (RSS-Bridge#4070)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvikan authored Apr 10, 2024
1 parent 815dc18 commit a73b66f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bridges/ScientificAmericanBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private function collectFeed()
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'),
Expand Down Expand Up @@ -125,6 +125,7 @@ private function parseIssue($issue_link)

private function updateItem($item)
{
return $item;
$html = getSimpleHTMLDOMCached($item['uri']);
$article = $html->find('#sa_body', 0)->find('article', 0);

Expand Down

0 comments on commit a73b66f

Please sign in to comment.