3 ms·
Unfortunately no, not to my knowledge. Only your account can see how many points your comment has, so the only way to build this would be to scrape your comment
by sillysaurusx 4mo ago
Unfortunately no, not to my knowledge. Only your account can see how many points your comment has, so the only way to build this would be to scrape your comments (10 at a time) from /threads?id=AnimalMuppet and then sort them by points yourself. Which is impractical, sadly.
- AnimalMuppet 4mo agoBut why impractical? That's just a wget loop, right? Or is it the sort part that you think is impractical? That's just a matter of writing a perl (or whatever) script to pull out the IDs plus upvotes, sort by upvotes, and grab the IDs. Then you can use grep or whatever to find which files those IDs wound up in and extract the comments. I mean, that's more work than I'm going to do for a vanity project, but I could...
- sillysaurusx 4mo agoYou’re right. HN asks for a crawl delay of 30 seconds. So if you want to be a good citizen and you have a thousand comments, that’d take about 8 hours. Not too bad. You can do it by including your “user” cookie. (You can get that by examining the cookie store via the browser.)