[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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();