mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 02:24:35 +02:00
refactor: remove parent calls to parseItem (#3747)
This commit is contained in:
parent
e379019db2
commit
2880524dfc
55 changed files with 96 additions and 293 deletions
|
@ -56,10 +56,8 @@ class TheGuardianBridge extends FeedExpander
|
|||
$this->collectExpandableDatas($url, 10);
|
||||
}
|
||||
|
||||
protected function parseItem($item)
|
||||
protected function parseItem(array $item)
|
||||
{
|
||||
$item = parent::parseItem($item);
|
||||
|
||||
$articlePage = getSimpleHTMLDOM($item['uri']);
|
||||
// figure contain's the main article image
|
||||
$article = $articlePage->find('figure', 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue