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

Fetching novel Chapters for fictionzone.net #1627

Open
Franzeeee opened this issue Jan 14, 2025 · 4 comments
Open

Fetching novel Chapters for fictionzone.net #1627

Franzeeee opened this issue Jan 14, 2025 · 4 comments

Comments

@Franzeeee
Copy link

The new update on the site fictionzone.net break the fetching of the chapters. When i tried to download a novel it is now cut of the the first page which is only up to 100 chapter.

@dteviot
Copy link
Owner

dteviot commented Jan 15, 2025

@Franzeeee
Until I get around to fixing this, you can manually select each range of 100 pages, open WebToEpub to get a set of 100 chapter links and then use the "Copy URLs to Clipboard" to build up a full list of chapters to fetch.

My notes, for how to get list of chapters.

Need to make POST call to https://fictionzone.net/api/__api_party/api-v1, with JSON package like

{
"path":"/chapter/all/102062",
"query":{"page":2},
"headers":{"content-type":"application/json"},
"method":"get"
}

This will return 100 links. Need to increase "page" for each batch of 100.

To get the value in path, need to call same URL with JSON package

{"path":"/novel/the-saint-s-fiancee-cheated-on-her-let-s-face-it-both-of-them-must-die",
"headers":{"content-type":"application/json"},
"method":"get"
}

(Note this is for ToC page https://fictionzone.net/novel/the-saint-s-fiancee-cheated-on-her-let-s-face-it-both-of-them-must-die

@dteviot dteviot changed the title Fetching novel Chapters Fetching novel Chapters for fictionzone.net Jan 15, 2025
@Franzeeee
Copy link
Author

Can i push the update i made on the parser? I fixed it on my side with just little code.

@dteviot
Copy link
Owner

dteviot commented Jan 16, 2025

@Franzeeee

Can i push the update i made on the parser?

Yes you can. That's kind of the point of GitHub. I'm not sure why you're even asking me.

@gamebeaker
Copy link
Collaborator

@Franzeeee here is a guide to help you making a pull request: https://github.com/dteviot/WebToEpub/wiki/Developer-guide

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

3 participants