Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quarantined subreddits #19

Open
TomArrow opened this issue Nov 7, 2020 · 6 comments
Open

Quarantined subreddits #19

TomArrow opened this issue Nov 7, 2020 · 6 comments

Comments

@TomArrow
Copy link

TomArrow commented Nov 7, 2020

This doesn't seem to catch comments and posts in quarantined subreddits. Anything that can be done about that?

@wadie
Copy link
Collaborator

wadie commented Nov 7, 2020

As far as, I remember comments made in quarantined subreddits no longer appear on a user's overview page, correct ?

@TomArrow
Copy link
Author

TomArrow commented Nov 7, 2020

I'm not sure. I use the old.reddit.com domain and I can still see them personally when I'm logged in, they are just marked with "Quarantined".

@wadie
Copy link
Collaborator

wadie commented Nov 8, 2020

Well if you go to your overview page, are you able to delete those comments manually ?

@TomArrow
Copy link
Author

TomArrow commented Nov 8, 2020

I think so, I have the classical delete button. I'd like to not do it manually though because I want to make use of the backup function of the PowerDeleteSuite.

@TomArrow
Copy link
Author

TomArrow commented Nov 8, 2020

What I did try was look at the requests being made to
https://www.reddit.com/user/[myusername]/comments/.json?q=&after=&sort=hot&t=all
That output has zero results.
But if I remove the ".json" part, it does show the quarantined comments.

@TomArrow
Copy link
Author

TomArrow commented Nov 8, 2020

I did find some clues, apparently one has to opt-in to quarantined subreddits for them to be available via the API. Some posts about it:
https://old.reddit.com/r/redditdev/comments/3fx3gt/quarantined_content_will_be_unavailable_through/
https://old.reddit.com/r/redditdev/comments/5vutzv/quaranopt_in_doesnt_seem_to_be_working/
https://old.reddit.com/r/redditisfun/comments/9jfwqr/can_we_get_an_option_to_opt_into_quarantined_subs/
https://old.reddit.com/r/redditdev/comments/asprwx/api_for_quarantined_subreddits/

Here's some library that has this implemented apparently:
https://github.com/praw-dev/praw/blob/5f7828b506ff7cd3b52cd7ac676ce28898980bea/praw/models/reddit/subreddit.py#L1570

Couldn't find other documentation though. Would be nice if this software could automatically opt-in to all the subreddits the user has been active on somehow, to catch those posts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants