mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
fix(ScientificAmericanBridge) (#4070)
This commit is contained in:
parent
815dc180cc
commit
a73b66f4d6
@ -66,7 +66,7 @@ class ScientificAmericanBridge extends FeedExpander
|
|||||||
private function collectIssues()
|
private function collectIssues()
|
||||||
{
|
{
|
||||||
$html = getSimpleHTMLDOMCached(self::ISSUES);
|
$html = getSimpleHTMLDOMCached(self::ISSUES);
|
||||||
$content = $html->getElementById('content')->children(3);
|
$content = $html->getElementById('app')->children(3);
|
||||||
$issues = $content->children();
|
$issues = $content->children();
|
||||||
$issues_count = min(
|
$issues_count = min(
|
||||||
(int)$this->getInput('parseIssues'),
|
(int)$this->getInput('parseIssues'),
|
||||||
@ -125,6 +125,7 @@ class ScientificAmericanBridge extends FeedExpander
|
|||||||
|
|
||||||
private function updateItem($item)
|
private function updateItem($item)
|
||||||
{
|
{
|
||||||
|
return $item;
|
||||||
$html = getSimpleHTMLDOMCached($item['uri']);
|
$html = getSimpleHTMLDOMCached($item['uri']);
|
||||||
$article = $html->find('#sa_body', 0)->find('article', 0);
|
$article = $html->find('#sa_body', 0)->find('article', 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user