[skip ci] Add a missing info about Page.url in the docs. (#11858)

This commit is contained in:
Alessandro Jean 2022-05-13 18:25:24 -03:00 committed by GitHub
parent 819108ff03
commit 69cb499675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -284,6 +284,7 @@ open class UriPartFilter(displayName: String, private val vals: Array<Pair<Strin
- When user opens a chapter, `fetchPageList` will be called and it will return a list of `Page`s.
- While a chapter is open in the reader or is being downloaded, `fetchImageUrl` will be called to get URLs for each page of the manga if the `Page.imageUrl` is empty.
- If the source provides all the `Page.imageUrl`'s directly, you can fill them and let the `Page.url` empty, so the app will skip the `fetchImageUrl` source and call directly `fetchImage`.
- The `Page.url` and `Page.imageUrl` attributes **should be set as an absolute URL**.
- Chapter pages numbers start from `0`.
### Misc notes