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

Would it be possible to add Reddit or users from Reddit? #1344

Closed
Saladitas opened this issue Jun 11, 2024 · 7 comments
Closed

Would it be possible to add Reddit or users from Reddit? #1344

Saladitas opened this issue Jun 11, 2024 · 7 comments

Comments

@Saladitas
Copy link

I just wanted to see if adding Reddit would be possible. There are some communities that have novels, like HFY that I would like to download from. I just haven't seen any way of downloading some of them, especially some that have upwards of 30 chapters.

https://www.reddit.com/r/HFY/

@dteviot
Copy link
Owner

dteviot commented Jun 11, 2024

This looks like a table of Contents page

@Saladitas
Copy link
Author

Yes there are TOC and Wikis, but, I prefer to download them and use an app like Moon+ Reader Pro. I use to read them on the Reddit app, but, after using Moon Reader its a day and night difference in how enjoyable my reading experience is.
There is no real way to organize them on reddit or keep track of how much you've read among other thing.
If its not possible then its okay, I just wanted to know if it planned feature or not.

@dteviot
Copy link
Owner

dteviot commented Jun 15, 2024

@Saladitas
You misunderstand. WebToEpub needs to start from a Table of Contents page. So it knows the URLs of the chapters to fetch.
This seems to be an example of one Table of Contents. Ideally, I'd like URL of several more, so I can study them and figure out how to write a parser for WebToEpub to handle them.

@Saladitas
Copy link
Author

Aah I see, well the vast majority of series are here https://www.reddit.com/r/HFY/wiki/series/
Excluding the newer sires, this has a vas majority of them and should be easier to get working.

The newer ones only really have a

First | Prev | Next | Patreon

in there chapter post and no wiki so I would be more difficult to make it work for those.

This is an example of one of the newer ones that doesn't have a Wiki/TOC https://www.reddit.com/r/HFY/comments/1dgls32/harmless_human_sacrifice_16/

dteviot added a commit that referenced this issue Jun 16, 2024
@dteviot
Copy link
Owner

dteviot commented Jun 16, 2024

@Saladitas

WebToEpub isn't designed to handle stories without a ToC.

Test versions for Firefox and Chrome have been uploaded to https://drive.google.com/drive/folders/1B_X2WcsaI_eg9yA-5bHJb8VeTZGKExl8?usp=sharing. Pick the one suitable for you, follow the "How to install from Source (for people who are not developers)" instructions at https://github.com/dteviot/WebToEpub/tree/ExperimentalTabMode#user-content-how-to-install-from-source-for-people-who-are-not-developers and let me know how it goes.
Tested with:

For my notes: (not sure, got distracted reading some of the stories.) Estimate 60 minutes.

@dteviot
Copy link
Owner

dteviot commented Jun 16, 2024

@Saladitas

Updated version (0.0.0.160) has been submitted to Firefox and Chrome stores.
Firefox version is available now.
Chrome might be available in a few hours to 21 days.

@dteviot dteviot closed this as completed Jun 16, 2024
@Saladitas
Copy link
Author

Thanks for the update! Tested it and it works.
Tested with series https://www.reddit.com/r/HFY/wiki/series/the_explorer/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants