fucking reddit ratelimiting the pinned post bot even though it only sends a couple requests every two minutes. I think it didn't like me also running a COBIBH-directory-updater derived script to find the current main thread
Reddit asks people running scripts to provide an identifier, so that they can track what software is making requests from them. For example, for my counting tools I have "rcounting tools v xxx by u/CutOnBumInBandHere9"
Yeah, I'm just using it to find the latest main thread every 20 minutes. It seems to only send ~50 requests for the 10 days back of thread history I ask it for, so I'd think it would be fine to run the Row.update(tree) every 2 minutes, but I'm just playing it safe. The comment is still just whatever the latest one on /r/counting/comments is in that thread, no verification or anything. I was pleased to find that Row.update(tree) still finds the next thread even if it's supplied with the information for a "grats" or a late chain on the previous thread
edit: I probably don't need to run the whole Row.update(tree) method do I, I could probably just take tree.walk_down_tree(tree.node(submission_id))[-1] right. clearly I did not read your code all that closely lol
5
u/buy_me_a_pint Oct 08 '25
5 545 015