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

how to Share added site/make it permanent???? #1567

Open
nibnig opened this issue Nov 9, 2024 · 1 comment
Open

how to Share added site/make it permanent???? #1567

nibnig opened this issue Nov 9, 2024 · 1 comment

Comments

@nibnig
Copy link

nibnig commented Nov 9, 2024

Hi, rather than requesting to add it, I’d like to ask if there’s a place or way to share a parser for a specific site. I’ve just made one for https://karistudio.com/, and it’s working well, but I’m not sure how to share it.

Also, is it possible to make this parser permanent in the plugin? If so, how can I do that, or do I always need to go through this process every time?

Anyway, here’s what I’ve put in each case for https://karistudio.com/:

Hostname: karistudio.com
URL of first chapter:
(required) CSS selector for element holding content to put into EPUB: article.small.single
CSS selector for element holding Title of Chapter: div.bs-header h1.title
CSS selector for element(s) to remove: div#novel_nav,div.code-block.code-block-4,div#donation-msg div,nav.navigation.post-navigation,div.code-block.code-block-5 script,div.code-block.code-block-2,div.code-block.code-block-5,div.row div#block-35.col-md-4.rotateInDownLeft.animated.bs-widget.widget_block,div.code-block.code-block-2,div.code-block.code-block-1

(Thank you for making this tool <3)

@dteviot
Copy link
Owner

dteviot commented Nov 9, 2024

@nibnig

but I’m not sure how to share it.

Good question. I'd suggest adding a new page to the Wiki https://github.com/dteviot/WebToEpub/wiki and put it there.

Also, is it possible to make this parser permanent in the plugin?

If you set values for the default parser for a site, WebToEpub is supposed to remember them. You should be able to save the settings to a file with "Write Options to file" under advanced settings.

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