this post was submitted on 07 Jul 2023
6 points (100.0% liked)

Reddit Migration

12 readers
2 users here now

### About Community Tracking and helping #redditmigration to Kbin and the Fediverse. Say hello to the decentralized and open future. To see latest reeddit blackout info, see here: https://reddark.untone.uk/

founded 1 year ago
 

I have got my privacy report in CSV form and have about 40k comments each with the id parent Id and permalink. Is there a way to parse this to delete script. I know shreddit does it for $15 premium but looking for free options

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Jon-H558@kbin.social 2 points 1 year ago* (last edited 1 year ago) (1 children)

I am thinking maybe a modified version of this one https://github.com/PranavMahesh1/reddit-user-comment-deleter-by-subreddit
That users the praw python wrapper. But rather than that one going off to pushfit I just feed in the comment IDs from column1 of the Reddit headers CSV into the id_list array from csv. I am not sure I even need to get body of the comment as that is for logging purposes

[โ€“] abff08f4813c@kbin.social 1 points 1 year ago

I did something similar - see https://kbin.social/m/RedditMigration/t/65260/PSA-Here-s-exactly-what-to-do-if-you-hit-the (though I didn't have the benefit of the archive). TTThe other thing to look out for is that I'm not sure if you can delete comments or submissions from private subs.,, but you can at least modify the script to warn you about those ids and then you can monitor and wait for the sub to go unprivate (or as the mods to add you to the approved users list)