mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-16 14:36:23 +02:00
[HackerNewsUserThreadsBridge] Repair broken bridge (#2344)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user