dteviot / WebToEpub

A simple Chrome (and Firefox) Extension that converts Web Novels (and other web pages) into an EPUB.
Other
675 stars 132 forks source link

Please add site https://www.wisdomlib.org/ #1203

Open xeolod opened 6 months ago

xeolod commented 6 months ago

Please note, I'm basically the only developer working on WebToEpub, and I'm not paid for doing this. (WebToEpub is completely free, and generates no money.) By asking to add a site, you're asking me to give you some of my limited free time. So, I think it's not unreasonable for me to ask you to do as much as you can to help me.

Provide URL for web page that contains Table of Contents (list of chapters) of a typical story on the site

Did you try using the Default Parser for the site? If not, why not?

What settings did you use? What didn't work?

If the Default Parser did not work, if you have developer skills, did you try writing a new parser?

If you don't have developer skills, can you ask a friend who does have them if they can do it for you?

If you tried writing a parser, and it doesn't work. Attach the parser here.

dteviot commented 6 months ago

@xeolod

I think you got the "URL of first chapter" wrong. ".ils_364343" does not look like a URL.

I suggest the following:

URL of first chapter - https://www.wisdomlib.org/buddhism/book/the-great-chronicle-of-buddhas/d/doc364348.html CSS selector for element holding content to put into EPUB - #pageContent CSS selector for element holding Title of Chapter - None CSS selector for element(s) to remove - None

For my notes: 6 minutes work

xeolod commented 6 months ago

Sorry, but I mistakenly used css selector as URL for first chapter These are the correct values.

If used #pageContent instead of #scontent, there are lot of unneeded elements and other unexpected things, like cover image in every page, so its ideal to use #scontent.


CSS selector for element(s) to remove - .footnotes

Footnotes

footnotes

xeolod commented 6 months ago

Also, the sub content is not downloaded.

https://github.com/dteviot/WebToEpub/assets/129925515/58da7c39-8b23-49ff-a2ee-a38ae88d187a

xeolod commented 6 months ago

Also, the sub content is not downloaded.

Maybe flattening the TOC while downloading would solve the issue.

xeolod commented 6 months ago

Hello just wanted to know if this is ongoing as the label is completed, but the issue is not resolved.