From e8db2479b568d4bb56371bb34c9759500de370b4 Mon Sep 17 00:00:00 2001 From: dag Date: Tue, 22 Mar 2022 20:41:59 +0100 Subject: [PATCH] [GithubTrendingBridge] fix: the description selector was broken (#2513) --- bridges/GithubTrendingBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/GithubTrendingBridge.php b/bridges/GithubTrendingBridge.php index e176d128..c482c343 100644 --- a/bridges/GithubTrendingBridge.php +++ b/bridges/GithubTrendingBridge.php @@ -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();