For comments I went to https://news.ycombinator.com/threads?id=dsfyu404ed and whatever URL the "more" link was, found every comment of mine that was < 1 day old and then every comment not by me that was a reply to one of those and then listing the ids of additional comments by me and additional replies to my comments for that minute. Comments were tracked by ID to avoid duplicates.
Pages were grabbed with wget and all the parsing was done with the standards linux/bash utilities