From ec55e999349a1fc72c54856e56407be82bdeb578 Mon Sep 17 00:00:00 2001 From: dag Date: Sun, 19 Dec 2021 10:18:57 +0100 Subject: [PATCH] [HackerNewsUserThreadsBridge] Repair broken bridge (#2344) --- bridges/HackerNewsUserThreadsBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/HackerNewsUserThreadsBridge.php b/bridges/HackerNewsUserThreadsBridge.php index 2a4073ac..d13abdd7 100644 --- a/bridges/HackerNewsUserThreadsBridge.php +++ b/bridges/HackerNewsUserThreadsBridge.php @@ -30,7 +30,7 @@ class HackerNewsUserThreadsBridge extends BridgeAbstract { $item['uri'] = 'https://news.ycombinator.com/item?id=' . $id; $author = $element->find('span[class*="comhead"]', 0)->find('a[class="hnuser"]', 0)->innertext; - $newstory = $element->find('span[class*="comhead"]', 0)->find('span[class="storyon"]', 0); + $newstory = $element->find('span[class*="comhead"]', 0)->find('span[class="onstory"]', 0); if (count($newstory->find('a')) > 0) { $story = $newstory->find('a', 0)->innertext; }