diff --git a/bridges/GithubTrendingBridge.php b/bridges/GithubTrendingBridge.php index 6db765cf..0f8e5e96 100644 --- a/bridges/GithubTrendingBridge.php +++ b/bridges/GithubTrendingBridge.php @@ -603,10 +603,10 @@ class GithubTrendingBridge extends BridgeAbstract $item = []; // URI - $item['uri'] = self::URI_ITEM . $element->find('h1 a', 0)->href; + $item['uri'] = self::URI_ITEM . $element->find('h2 a', 0)->href; // Title - $item['title'] = str_replace(' ', '', trim(strip_tags($element->find('h1 a', 0)->plaintext))); + $item['title'] = str_replace(' ', '', trim(strip_tags($element->find('h2 a', 0)->plaintext))); // Description $description = $element->find('p', 0);