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

Feature Request: Flexible export options and image saving #2

Open
UtopianElectronics opened this issue Aug 17, 2024 · 1 comment
Open

Comments

@UtopianElectronics
Copy link

UtopianElectronics commented Aug 17, 2024

Hi,

I really appreciate this tool—it's been incredibly useful! Thanks for creating it.

I was wondering if there's a way to export submissions as JSON or another format that would allow for more flexible exporting in different layouts. Additionally, is it possible to use the same layout as the one used by redlib? Here is an example of that layout.

Also, I've noticed that images in submissions don't get saved. Is there a way to fix that?

Thanks again for your work!

(Edit: I use the RedditArchiver-standalone script).

@Ailothaen
Copy link
Owner

Hello!

Thank you for your issue. I will answer each of the points:

  • As now, no, RedditArchive only extracts a submission in a "visual" way. A "computer-readable" output (such a JSON) could be implemented, but someone else already made a tool that does this: https://github.com/Serene-Arc/bulk-downloader-for-reddit . Therefore, I feel that reimplementing this in RedditArchive would not be worth the time, if there is already another tool that does it (if that tool goes unmaintained and unmaintainable, though, it can be reconsidered). In the current state, I suggest using RedditArchiver and BDFR together to get both formats.

  • RedditArchiver does indeed not save the media associated with the submissions, only the link to it. Same concern as above: the amazing https://github.com/mikf/gallery-dl already does this, and any implementation from myself in RedditArchiver would probably not be as good as the one in gallery-dl (though, an integration from RedditArchiver to gallery-dl – like gallery-dl itself does with yt-dlp) can be a possibility)

  • The current HTML layout was made to be as light and "easy to render" as possible, to prevent a HTML file from slowing or freezing the browser on long or intricate submissions. Though, the layout you showed looks nice, I will look into it. Generally, I think offering possibilities to customize the output layout (colors, column size...) is not a bad idea.

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