Nick-Gottschlich / Social-Amnesia

Forget the past. Social Amnesia makes sure your social media accounts only show your posts from recent history, not from "that phase" 5 years ago.
GNU General Public License v3.0
798 stars 37 forks source link

feature needed: detect when a post is censored #41

Open ghost opened 5 years ago

ghost commented 5 years ago

It's a very good idea to give users increased control over the deletion of their messages. But it's also important for users to be informed if a post is deleted ahead of schedule, by a moderator. Reddit is quite insidious with how it non-transparently implements censorship. When a user's post is censored by a moderator the user still sees the post as if it's still in play. It's quite abusive because the user is deceived. Please add a feature to detect censored posts.

Nick-Gottschlich commented 5 years ago

Hmm, interesting. Is this indicated in the API anywhere? If it's possible to access programatically using the reddit API through https://praw.readthedocs.io/en/latest/? I'm not sure if there's anything like comment.deleted that indicates it was removed by a moderator. If that does exist I could pretty easily convey that information to the user.

ghost commented 5 years ago

I don't know what's in the API. If I want to know if a Reddit post was censored I have to try to visit the article in a logged-out browser. So from the app standpoint I suppose it would just be a matter of gathering all post links with a logged in session, and then visiting those links without sending the session cookie to see if there's still content.

But note that I think Reddit may have gotten sneakier recently. I was able to view an apparently censored post when logged out using the direct link, but then that article was omitted from searches and from the timeline. In this case the app would have to collect subject lines and URLs, and then search for the subject line and see if the URL matches the results.