1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-01 14:20:16 +02:00

[GithubTrendingBridge] fix: the description selector was broken (#2513)

This commit is contained in:
dag
2022-03-22 20:41:59 +01:00
committed by GitHub
parent c87f4631f2
commit e8db2479b5

View File

@@ -613,7 +613,7 @@ class GithubTrendingBridge extends BridgeAbstract {
$item['title'] = str_replace(' ', '', trim(strip_tags($element->find('h1 a', 0)->plaintext)));
// Description
$item['content'] = trim(strip_tags($element->find('p.text-gray', 0)->innertext));
$item['content'] = trim(strip_tags($element->find('p', 0)->innertext));
// Time
$item['timestamp'] = time();