trent@kbin.social to Reddit Migration@kbin.social · 1 year agoWrote a script to edit all my posts!media.kbin.socialexternal-linkmessage-square5fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1external-linkWrote a script to edit all my posts!media.kbin.socialtrent@kbin.social to Reddit Migration@kbin.social · 1 year agomessage-square5fedilink
minus-squareabff08f4813c@kbin.sociallinkfedilinkarrow-up2·1 year agoHey, so I modified your script to print out what it was overwriting. Like literally just these five lines: count += 1 print(f"Comment.id {comment.id}“) print(f"Comment.permalink https://www.reddit.com{comment.permalink}”) print(f"Comment.body\n{comment.body}“) print(f"Count: {count}”) I saw something similar, but since I have this extra detail, I was able to determine that the content the script overwrote is staying overwritten. Rather, it’s that Reddit’s API is not returning everything to us. More details at https://kbin.social/m/RedditMigration/t/47320/PSA-If-you-have-more-than-1000-posts-more-than TLDR; it may be the case that we’re finding other content too old that got missed by the script rather than reddit undeleting/unediting stuff the script found. There’s another script out there on github that uses Pushshfit’s API to get around this, see https://kbin.social/m/RedditMigration/t/47320/PSA-If-you-have-more-than-1000-posts-more-than#entry-comment-202228 Not sure if that will keep working past June 30, so we need to look into that asap.
minus-squareabff08f4813c@kbin.sociallinkfedilinkarrow-up1·1 year agoUpdate to this, https://kbin.social/m/RedditMigration/t/65260/PSA-Here-s-exactly-what-to-do-if-you-hit-the
Hey, so I modified your script to print out what it was overwriting. Like literally just these five lines:
count += 1
print(f"Comment.id {comment.id}“)
print(f"Comment.permalink https://www.reddit.com{comment.permalink}”)
print(f"Comment.body\n{comment.body}“)
print(f"Count: {count}”)
I saw something similar, but since I have this extra detail, I was able to determine that the content the script overwrote is staying overwritten. Rather, it’s that Reddit’s API is not returning everything to us. More details at https://kbin.social/m/RedditMigration/t/47320/PSA-If-you-have-more-than-1000-posts-more-than
TLDR; it may be the case that we’re finding other content too old that got missed by the script rather than reddit undeleting/unediting stuff the script found.
There’s another script out there on github that uses Pushshfit’s API to get around this, see https://kbin.social/m/RedditMigration/t/47320/PSA-If-you-have-more-than-1000-posts-more-than#entry-comment-202228
Not sure if that will keep working past June 30, so we need to look into that asap.
awesome, thanks!
Update to this, https://kbin.social/m/RedditMigration/t/65260/PSA-Here-s-exactly-what-to-do-if-you-hit-the