andrewbanchich / shreddit

Delete your Reddit data.
MIT License
235 stars 10 forks source link

Feature req: Don't delete just edit #61

Closed jhchrist closed 1 year ago

jhchrist commented 1 year ago

Would very much rather leave reddit with 10k comments of garbled nonsense than just having the comments be removed.

andrewbanchich commented 1 year ago

I agree, and plan on adding this once a fix or workaround is in place for #35 . Until then, if comments are only edited, any subsequent runs won't progress to the next set of comments and will just edit the same ones over and over.

SuspectTyrannosaurus commented 1 year ago

@andrewbanchich Would using the GDPR export "mode" (using --gdpr-export-dir) count as a workaround?

andrewbanchich commented 1 year ago

Yes, if you have that export it should not run into this problem.

SuspectTyrannosaurus commented 1 year ago

In that case, as a 'hack', would it be as simple as commenting out the "delete" call in mod.rs ? To make the program edit the comments and not delete them?

(Then I'd just have to edit the Lorem Ipsum variable a couple lines down to make it leave something worth saying.)

andrewbanchich commented 1 year ago

Exactly!

jhchrist commented 1 year ago

Is is possible to easily delete more than 1000 comments now, without the gdpr export? still waiting for mine

edit: I see what you mean now. My profile was blank, no comments showing on any page hot/top/new for about a day or so. Finally got them all though.

andrewbanchich commented 1 year ago

Currently there is some issue with Reddit's list API not returning everything, even when paginating through results, so you would need to run shreddit multiple times until everything is deleted. It does work, it's just a bit of an annoyance that it doesn't work in one go.

RFBomb commented 1 year ago

I had already messed with the code to get this function, but #35 cropped up and we put it on hold. Since GDPR export seems to be a workaround, I submitted the pr for this, to include a note.

andrewbanchich commented 1 year ago

Added in 0.8.1. Thanks @RFBomb !