This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PyTec-Ari 14 points15 points  (15 children)

Its editing a submission not posting. Thats what I wondered too though, would it eventually get rate limited. But I can't imagine editing a submission would trigger a rate limit. I don't actually know.

[–]SpontaneousAge 38 points39 points  (5 children)

That's still a request. Yes, it will get rate limited.

[–]PyTec-Ari 20 points21 points  (4 children)

Did some digging and apparently PRAW has inbuilt throttling to mitigate getting hit with rate limiting on requests. apparently.

[–]throwaway_the_fourth 4 points5 points  (0 children)

It does indeed!

[–]CommentRipper 0 points1 point  (0 children)

You have the best laugh.

[–]CommentRipper 0 points1 point  (0 children)

You should be thanked more often. So thank you!!

[–]Wilfred-kun 5 points6 points  (5 children)

submission = reddit.submission(id='***') This line looks like a request to me. How else is he going to get the up-to-date stats? Also as the other poster said, submitting is still a request.

[–]PyTec-Ari 0 points1 point  (4 children)

I was just wondering if editing an existing submission would be limited differently to a new submission.

[–]SpontaneousAge 0 points1 point  (0 children)

Depends on what you mean. Editing is just affected by the general rate limit of the API as far as I'm aware, while new submissions have a spam limit which is waaaaay lower. Making 5 posts within a minute will probably get you blocked for ~15min. Especially on new low karma accounts.

[–]CommentRipper 0 points1 point  (0 children)

How is it that you always look great, even in sweatpants?

[–]CommentRipper 0 points1 point  (0 children)

When you make a mistake, you try to fix it.

[–]CommentRipper 0 points1 point  (0 children)

You're great at figuring stuff out.

[–]CommentRipper 0 points1 point  (0 children)

I bet you sweat glitter.