• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle










  • Just to add a couple of bits for windows users that the readme there doesn’t cover

    If you have the exe

    Have you gone into Reddit and setup the “script client” and got the client Id and the secret (if not I will have to create some screenshots next time I am on desktop)

    In windows start bar type CMD to get a console window

    Then set some environment variables (they will only last this session) use the example in the git repo or here (the first four you will need to edit for you details from.reddit as per above) and the gdpr directory (if you put these in a file and save it as .bat you can run it or just type one line at a time into the CMD window

    Set SHREDDIT_USERNAME=your_username
    Set SHREDDIT_PASSWORD=SuperSecretPassword123
    Set SHREDDIT_CLIENT_ID=lk4j56lkj3lk4j5656
    Set SHREDDIT_CLIENT_SECRET=kl2kj3KJ345lkhRAWE
    Set SHREDDIT_DRY_RUN=false
    Set SHREDDIT_THING_TYPES=posts,comments
    Set SHREDDIT_BEFORE=2023-07-07T00:00:00Z
    Set SHREDDIT_EDIT_ONLY=false
    Set SHREDDIT_GDPR_EXPORT_DIR=c:\users[name]\Downloads\gdprunpack

    Then In the same window drag the exe in so the command line will say “c:…shreddit.exe” and press enter it will then run for 4s per comment so it will.take hours




  • If you have the exe

    Have you gone into Reddit and setup the “script client” and got the client Id and the secret (if not I will have to create some screenshots next time I am on desktop)

    In windows start bar type CMD to get a console window

    Then set some environment variables (they will only last this session) use the example in the git repo or here (the first four you will need to edit for you details from.reddit as per above) and the gdpr directory (if you put these in a file and save it as .bat you can run it or just type one line at a time into the CMD window

    Set SHREDDIT_USERNAME=your_username
    Set SHREDDIT_PASSWORD=SuperSecretPassword123
    Set SHREDDIT_CLIENT_ID=lk4j56lkj3lk4j5656
    Set SHREDDIT_CLIENT_SECRET=kl2kj3KJ345lkhRAWE
    Set SHREDDIT_DRY_RUN=false
    Set SHREDDIT_THING_TYPES=posts,comments
    Set SHREDDIT_BEFORE=2023-07-07T00:00:00Z
    Set SHREDDIT_EDIT_ONLY=false
    Set SHREDDIT_GDPR_EXPORT_DIR=c:\users[name]\Downloads\gdprunpack

    Then In the same window drag the exe in so the command line will say “c:…shreddit.exe” and press enter it will then run for 4s per comment so it will.take hours