mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-16 15:19:55 +03:00
fix(ScientificAmericanBridge) (#4070)
This commit is contained in:
parent
815dc180cc
commit
a73b66f4d6
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue