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

Please add site https://fanficus.com #1647

Open
DEATHAN-SAA opened this issue Jan 23, 2025 · 1 comment
Open

Please add site https://fanficus.com #1647

DEATHAN-SAA opened this issue Jan 23, 2025 · 1 comment

Comments

@DEATHAN-SAA
Copy link

Hello.
I'm sorry to bother you, but I don't know how to bypass websites with protection. So that it doesn't give errors like this:

Error: Не найден элемент с содержимым на странице 'https://fanficus.com/events'.
at chrome-extension://akiljllkbielkidmammnifcnibaigelm/js/Parser.js:519:23
at async Promise.all (index 0)
at async DefaultParser.fetchWebPages (chrome-extension://akiljllkbielkidmammnifcnibaigelm/js/Parser.js:484:17)

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

https://fanficus.com/post/65155f1a60150b0018c984c7

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

Instructions for using the default parser can be found at https://github.com/dteviot/WebToEpub/wiki/FAQ#how-to-convert-a-new-site-using-the-default-parser

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

Unfortunately, I don't understand how to create a parser on my own while bypassing the error.

@dteviot
Copy link
Owner

dteviot commented Jan 26, 2025

@DEATHAN-SAA
At this point in time, I'm unable to get WebToEpub to handle this site.

Notes on fetching content for chapter.

Starting with ToC of https://fanficus.com/post/65155f1a60150b0018c984c7

URL of first chapter is given as
https://fanficus.com/post/65155f1a60150b0018c984c7/post-part/65155f6a60150b0018c98621?ownership=

But there's no content in the HTML returned by that URL.
Instead, content seems to come from a REST call to
https://fanficus-server-mirror-879c30cd977f.herokuapp.com/api/v1/post/65155f1a60150b0018c984c7/post-part/65155f6a60150b0018c98621?uSId=da23ec4e-791d-4012-b361-f7295938109e

I don't know where/how to get the uSId value.

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