Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SUPPORT] LLALON - SHREDDIT

Featured Replies

Overview: Support thread for llalon-shreddit

Application: https://github.com/llalon/Shreddit

Docker Hub: https://hub.docker.com/r/llalon/shreddit

GitHub: https://github.com/llalon/docker-templates/tree/main/shreddit

 

Purge reddit comment history.

 

Instructions:

  • Obtain an access token from here
  • Provide token, credentials, and run interval to the plugin
  • Further configuration can be found in appdata/llalon-shreddit/shreddit.yml

 

Use cron to schedule. 

 

Feel free to comment here if you need any assistance. 

Edited by llalon
update

  • 3 weeks later...

Getting this error every time i run

 

Traceback (most recent call last):
File "/usr/bin/shreddit", line 11, in <module>
load_entry_point('shreddit==6.0.7', 'console_scripts', 'shreddit')()
File "/usr/lib/python3.6/site-packages/shreddit/app.py", line 45, in main
shredder.shred()
File "/usr/lib/python3.6/site-packages/shreddit/shredder.py", line 68, in shred
deleted = self._remove_things(self._build_iterator())
File "/usr/lib/python3.6/site-packages/shreddit/shredder.py", line 166, in _remove_things
self._remove(item)
File "/usr/lib/python3.6/site-packages/shreddit/shredder.py", line 137, in _remove
self._remove_comment(item)
File "/usr/lib/python3.6/site-packages/shreddit/shredder.py", line 124, in _remove_comment
comment.edit(replacement_text)
File "/usr/lib/python3.6/site-packages/praw/models/reddit/mixins/editable.py", line 20, in edit
updated = self._reddit.post(API_PATH['edit'], data=data)[0]
File "/usr/lib/python3.6/site-packages/praw/reddit.py", line 432, in post
return self._objector.objectify(data)
File "/usr/lib/python3.6/site-packages/praw/objector.py", line 122, in objectify
raise APIException(*errors[0])
praw.exceptions.APIException: RATELIMIT: 'Looks like you've been doing that a lot. Take a break for 3 seconds before trying again.' on field 'ratelimit'

 

  • Author
On 9/13/2021 at 7:50 PM, ffhelllskjdje said:

Getting this error every time i run

 

Traceback (most recent call last):
File "/usr/bin/shreddit", line 11, in <module>
load_entry_point('shreddit==6.0.7', 'console_scripts', 'shreddit')()
File "/usr/lib/python3.6/site-packages/shreddit/app.py", line 45, in main
shredder.shred()
File "/usr/lib/python3.6/site-packages/shreddit/shredder.py", line 68, in shred
deleted = self._remove_things(self._build_iterator())
File "/usr/lib/python3.6/site-packages/shreddit/shredder.py", line 166, in _remove_things
self._remove(item)
File "/usr/lib/python3.6/site-packages/shreddit/shredder.py", line 137, in _remove
self._remove_comment(item)
File "/usr/lib/python3.6/site-packages/shreddit/shredder.py", line 124, in _remove_comment
comment.edit(replacement_text)
File "/usr/lib/python3.6/site-packages/praw/models/reddit/mixins/editable.py", line 20, in edit
updated = self._reddit.post(API_PATH['edit'], data=data)[0]
File "/usr/lib/python3.6/site-packages/praw/reddit.py", line 432, in post
return self._objector.objectify(data)
File "/usr/lib/python3.6/site-packages/praw/objector.py", line 122, in objectify
raise APIException(*errors[0])
praw.exceptions.APIException: RATELIMIT: 'Looks like you've been doing that a lot. Take a break for 3 seconds before trying again.' on field 'ratelimit'

 

 

This is known issue, I am working with upstream for a solution.

 

In the meantime, you can increase the run frequency as this script should still function on the first few runs before hitting this limit. 

  • 5 months later...

This seemed to stop working for me. Haven't changed anything but the logs are now just:

 

Writing shreddit.yml file...
Writing praw.ini file...
Traceback (most recent call last):
File "/usr/local/bin/shreddit", line 33, in <module>
sys.exit(load_entry_point('shreddit==6.0.7', 'console_scripts', 'shreddit')())
File "/usr/local/lib/python3.9/dist-packages/shreddit/app.py", line 44, in main
shredder = Shredder(default_config, args.user)
File "/usr/local/lib/python3.9/dist-packages/shreddit/shredder.py", line 28, in __init__
self._connect()
File "/usr/local/lib/python3.9/dist-packages/shreddit/shredder.py", line 80, in _connect
self._r = praw.Reddit(self._user, check_for_updates=False, user_agent="python:shreddit:v6.0.4")
File "/usr/local/lib/python3.9/dist-packages/praw/reddit.py", line 150, in __init__
raise ClientException(required_message.format(attribute))
praw.exceptions.ClientException: Required configuration setting 'client_id' missing.
This setting can be provided in a praw.ini file, as a keyword argument to the `Reddit` class constructor, or as an environment variable.

 

Looking inside the Docker, my praw.ini file is empty. But my docker config is set up with all that information. Maybe it's not connecting somehow?

  • Author
On 2/23/2022 at 8:30 PM, s449 said:

This seemed to stop working for me. Haven't changed anything but the logs are now just:

 

Writing shreddit.yml file...
Writing praw.ini file...
Traceback (most recent call last):
File "/usr/local/bin/shreddit", line 33, in <module>
sys.exit(load_entry_point('shreddit==6.0.7', 'console_scripts', 'shreddit')())
File "/usr/local/lib/python3.9/dist-packages/shreddit/app.py", line 44, in main
shredder = Shredder(default_config, args.user)
File "/usr/local/lib/python3.9/dist-packages/shreddit/shredder.py", line 28, in __init__
self._connect()
File "/usr/local/lib/python3.9/dist-packages/shreddit/shredder.py", line 80, in _connect
self._r = praw.Reddit(self._user, check_for_updates=False, user_agent="python:shreddit:v6.0.4")
File "/usr/local/lib/python3.9/dist-packages/praw/reddit.py", line 150, in __init__
raise ClientException(required_message.format(attribute))
praw.exceptions.ClientException: Required configuration setting 'client_id' missing.
This setting can be provided in a praw.ini file, as a keyword argument to the `Reddit` class constructor, or as an environment variable.

 

Looking inside the Docker, my praw.ini file is empty. But my docker config is set up with all that information. Maybe it's not connecting somehow?

Try newest update

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.