redlib icon indicating copy to clipboard operation
redlib copied to clipboard

💡 Feature request: If post is not found, offer to view in Undelete

Open DokterKaj opened this issue 1 year ago • 4 comments

If trying to view a post returns a 404, add a link that tries to view it in Unddit instead. This is useful because a link will return a 404 if the subreddit was banned, even if it can still be viewed on Unddit.

Example: https://reddit.com/r/ItsukiClassroom/comments/mbrq5q/ https://undelete.pullpush.io/r/ItsukiClassroom/comments/mbrq5q/

DokterKaj avatar Sep 12 '24 09:09 DokterKaj

Related to https://github.com/libredirect/browser_extension/issues/991: Usually a URL like instance.com/comments/xxxxxx loads fine in Redlib, but if the subreddit has been banned, then it returns a 403 Forbidden error. In this case the link to Unddit should be undelete.pullpush.io/r/_/comments/xxxxxx, since undelete.pullpush.io/comments/xxxxxx is invalid (unless there is some other way of identifying the subreddit from just the post ID)

DokterKaj avatar Sep 13 '24 02:09 DokterKaj

Hi, I just wanted to show you. I can email you to your account.

Sugaree16 avatar Sep 13 '24 21:09 Sugaree16

@Sugaree16 sorry, did you reply to the wrong person?

DokterKaj avatar Sep 14 '24 06:09 DokterKaj

Yes, my apologies

Sugaree16 avatar Sep 14 '24 14:09 Sugaree16