Self-claiming of ComiCake extension
See original GitHub issueHi, just wanted to let people who write extensions know that I’m already working on an extension for my new reader (in development). The reader has been implemented over at whimsubs.xyz and will be replacing foolslide2 in a weeks over at jaiminisbox.com.
I do have a question though regarding dev: When getting latestUpdates from a source, tachiyomi wants a MangasPage, which is basically a container for a list of SManga. Problem with this though is that when fetching latest chapters from the api at /api/chapters.json
, because they’re chapters, just chapter data is returned:
{
"id": 64,
"manifest": "/r/read/5b51fe81-470d-436d-b6d3-5551d8a6d98e/manifest.json",
"comic": 12,
"name": "A Summoner's Sage Skills",
"chapter": 15,
"subchapter": 0,
"title": "Chapter 15: A Summoner's Sage Skills",
"protection": null,
"uniqid": "5b51fe81-470d-436d-b6d3-5551d8a6d98e",
"volume": 0,
"team": [1],
"language": "en",
"published_at": "2018-05-27T10:14:28-07:00",
"modified_at": "2018-05-27T12:11:53.280321-07:00"
}
The manga is only referenced by an ID, so for each manga with a new chapter you would have to fetch that manga’s details at /api/comics/${id}.json
, which would result in quite a few API requests. The next-best option I see is to just prefetch all comic metadata as well from /api/comics.json?page=${page}
, but I’m not sure. Suggestions?
Issue Analytics
- State:
- Created 5 years ago
- Comments:24 (17 by maintainers)
@CarlosEsco solved problem, have an option to expand the comic field to produce chapter output like this:
and it works 😃
Not sure if this is still relevant since the extension already exists.