reformat
This commit is contained in:
parent
1df528c0dc
commit
afa960c808
171 changed files with 3458 additions and 1915 deletions
|
@ -1,7 +1,7 @@
|
|||
package ani.dantotsu.others
|
||||
|
||||
import ani.dantotsu.media.anime.Episode
|
||||
import ani.dantotsu.client
|
||||
import ani.dantotsu.media.anime.Episode
|
||||
import ani.dantotsu.tryWithSuspend
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
@ -23,9 +23,10 @@ object Jikan {
|
|||
val res = query<EpisodeResponse>("anime/$malId/episodes?page=$page")
|
||||
res?.data?.forEach {
|
||||
val ep = it.malID.toString()
|
||||
eps[ep] = Episode(ep, title = it.title,
|
||||
eps[ep] = Episode(
|
||||
ep, title = it.title,
|
||||
//Personal revenge with 34566 :prayge:
|
||||
filler = if(malId!=34566) it.filler else true,
|
||||
filler = if (malId != 34566) it.filler else true,
|
||||
)
|
||||
}
|
||||
hasNextPage = res?.pagination?.hasNextPage == true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue