remove debug prints
This commit is contained in:
parent
f5ea928758
commit
b0c714a162
1 changed files with 0 additions and 4 deletions
|
@ -233,7 +233,6 @@ class ShabakatyCinemana : ConfigurableAnimeSource, AnimeHttpSource() {
|
||||||
val kind = KINDS_LIST.first { it.first == kindPref }.second
|
val kind = KINDS_LIST.first { it.first == kindPref }.second
|
||||||
|
|
||||||
val url = "$apiBaseUrl/video/V/2/itemsPerPage/$POPULAR_ITEMS_PER_PAGE/level/0/videoKind/$kind/sortParam/desc/pageNumber/${page - 1}"
|
val url = "$apiBaseUrl/video/V/2/itemsPerPage/$POPULAR_ITEMS_PER_PAGE/level/0/videoKind/$kind/sortParam/desc/pageNumber/${page - 1}"
|
||||||
println(url)
|
|
||||||
return GET(url, headers)
|
return GET(url, headers)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -291,7 +290,6 @@ class ShabakatyCinemana : ConfigurableAnimeSource, AnimeHttpSource() {
|
||||||
.addQueryParameter("orderby", browseResultSort)
|
.addQueryParameter("orderby", browseResultSort)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
println(url)
|
|
||||||
val resp = client.newCall(GET(url, headers)).execute()
|
val resp = client.newCall(GET(url, headers)).execute()
|
||||||
// Todo: remove SAnimeWithInfo data class if no longer needed
|
// Todo: remove SAnimeWithInfo data class if no longer needed
|
||||||
val animeListWithInfo = resp.asModel(SAnimeWithInfoDeserializer)
|
val animeListWithInfo = resp.asModel(SAnimeWithInfoDeserializer)
|
||||||
|
@ -317,10 +315,8 @@ class ShabakatyCinemana : ConfigurableAnimeSource, AnimeHttpSource() {
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
|
|
||||||
println(url)
|
|
||||||
val resp = client.newCall(GET(url, headers)).execute()
|
val resp = client.newCall(GET(url, headers)).execute()
|
||||||
val animeList = resp.asModelList(SAnimeDeserializer)
|
val animeList = resp.asModelList(SAnimeDeserializer)
|
||||||
println("search has next page: ${animeList.size} == $SEARCH_ITEMS_PER_PAGE ${animeList.size == SEARCH_ITEMS_PER_PAGE}")
|
|
||||||
return AnimesPage(animeList, animeList.size == SEARCH_ITEMS_PER_PAGE)
|
return AnimesPage(animeList, animeList.size == SEARCH_ITEMS_PER_PAGE)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue