sopel icon indicating copy to clipboard operation
sopel copied to clipboard

reddit: quarantined subreddits don't work

Open dgw opened this issue 5 years ago • 1 comments

Description

Quarantined subreddits appear to be private if referenced in chat via r/subname or looked up via .subreddit subname command. Media links (i.e. i.redd.it URLs) for posts from quarantined subs won't return the original post.

Reproduction steps

  • Say .subreddit MGTOW
  • Post the link https://i.redd.it/tauze2as3zf51.jpg

Expected behavior

  • Sopel outputs the subreddit summary it would for any other sub, i.e. for r/memes
  • Sopel finds and outputs the original submission like normal, i.e. for https://i.redd.it/vctbn4vhkbh51.jpg

Environment

  • Sopel .version: 7.0.6, 7.1.0-dev
  • Sopel installed via: pip, source/git
  • Python version: 3.8.2, 3.6.9
  • Operating system: Ubuntu 18.04
  • Relevant plugins: reddit

Notes

No milestone yet cuz I'm not sure this is fixable. Haven't looked at PRAW's docs yet.

dgw avatar Aug 16 '20 21:08 dgw

Update: I have a fairly solid fix for looking up quarantined subreddits.

On the other hand, it's looking pretty impossible to search media links without tying a user account to the reddit plugin, and massively complicating how it authenticates to the API.

Still looking into what (if anything) might need to be done for submission or comment permalinks, since fetching data for those seems pretty hit-or-miss and I'm not sure what's going on.

dgw avatar Aug 16 '20 22:08 dgw

No longer planned; reddit has been removed from core plugins (#2444).

dgw avatar Jun 01 '23 11:06 dgw