Skip to content

Commit

Permalink
[HackerNews] Fix tag containing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rakoo committed Aug 21, 2024
1 parent 2d5d2f5 commit d0a1676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/HackerNewsUserThreadsBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function collectData()
$item['author'] = $author;
$item['title'] = $title;
$item['timestamp'] = $element->find('span[class*="age"]', 0)->find('a', 0)->innertext;
$item['content'] = $element->find('span[class*="commtext"]', 0)->innertext;
$item['content'] = $element->find('div[class*="commtext"]', 0)->innertext;

$this->items[] = $item;
}
Expand Down

0 comments on commit d0a1676

Please sign in to comment.