zlacker

[parent] [thread] 1 comments
1. dsfyu4+(OP)[view] [source] 2019-08-08 12:50:12
I looked at my overall karma once per minute and keeping a running total in a text file as well as the increase/decrease from the last file.

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

replies(1): >>saagar+qJ
2. saagar+qJ[view] [source] 2019-08-08 17:54:00
>>dsfyu4+(OP)
FYI, Hacker News has an API: https://github.com/HackerNews/API
[go to top]