mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[GithubTrendingBridge] fix: the description selector was broken (#2513)
This commit is contained in:
parent
c87f4631f2
commit
e8db2479b5
@ -613,7 +613,7 @@ class GithubTrendingBridge extends BridgeAbstract {
|
|||||||
$item['title'] = str_replace(' ', '', trim(strip_tags($element->find('h1 a', 0)->plaintext)));
|
$item['title'] = str_replace(' ', '', trim(strip_tags($element->find('h1 a', 0)->plaintext)));
|
||||||
|
|
||||||
// Description
|
// Description
|
||||||
$item['content'] = trim(strip_tags($element->find('p.text-gray', 0)->innertext));
|
$item['content'] = trim(strip_tags($element->find('p', 0)->innertext));
|
||||||
|
|
||||||
// Time
|
// Time
|
||||||
$item['timestamp'] = time();
|
$item['timestamp'] = time();
|
||||||
|
Loading…
Reference in New Issue
Block a user