sissbruecker / linkding

Self-hosted bookmark manager that is designed be to be minimal, fast, and easy to set up using Docker.
MIT License
5.32k stars 261 forks source link

Allow snapshotting of sites like reddit #732

Closed nadir-ishiguro closed 1 month ago

nadir-ishiguro commented 1 month ago

Love the snapshot feature, but about half the bookmarks I create are of reddit posts. As reddit implemented restrictions on users that are not logged in, every snapshot looks like this:

reddit_blocked

Normally I see projects that make use of something like playwright enable users to manually upload a cookie of some sort, but that seems like a bad fit for linkding.

I've seen issue https://github.com/sissbruecker/linkding/issues/712 where you said getting the html from the extension might be an option.

I've mainly opened this issue to maybe add it as another potential use case for that type of enhancement.

It's not ideal as it doesn't cover all existing bookmarks, but it would be a great feature nonetheless.

sissbruecker commented 1 month ago

Reddit apparently needs a custom user agent, see the related issue: https://github.com/sissbruecker/linkding/issues/690. I just did a brief test and it still seems to work fine.

Otherwise I'd prefer to keep the discussion in #712, as currently it's not clear what the individual issues and possible solutions are.

nadir-ishiguro commented 1 month ago

Thank you very much, that solved my issue.

Sorry for not figuring that out myself and bothering you.