mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-30 21:35:33 +03:00
[ASRockNewsBridge] Fix bridge (#2373)
This commit is contained in:
parent
35930ee4e4
commit
2ee091665a
1 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,9 @@ class ASRockNewsBridge extends BridgeAbstract {
|
||||||
$contents = $articlePageHtml->find('div.Contents', 0);
|
$contents = $articlePageHtml->find('div.Contents', 0);
|
||||||
|
|
||||||
$item['uri'] = $articlePath;
|
$item['uri'] = $articlePath;
|
||||||
$item['title'] = $contents->find('h5', 0)->innertext;
|
$item['title'] = $contents->find('h3', 0)->innertext;
|
||||||
|
|
||||||
$contents->find('h5', 0)->outertext = '';
|
$contents->find('h3', 0)->outertext = '';
|
||||||
|
|
||||||
$item['content'] = $contents->innertext;
|
$item['content'] = $contents->innertext;
|
||||||
$item['timestamp'] = $this->extractDate($a->plaintext);
|
$item['timestamp'] = $this->extractDate($a->plaintext);
|
||||||
|
|
Loading…
Add table
Reference in a new issue