mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Update TenshiProvider.kt
This commit is contained in:
parent
4db4581cdf
commit
e4512b2092
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class TenshiProvider : MainAPI() {
|
||||||
try {
|
try {
|
||||||
if (section.attr("id") == "toplist-tabs") {
|
if (section.attr("id") == "toplist-tabs") {
|
||||||
for (top in section.select(".tab-content > [role=\"tabpanel\"]")) {
|
for (top in section.select(".tab-content > [role=\"tabpanel\"]")) {
|
||||||
val title = "Top of the " + top.attr("id").split("-")[1].capitalize(Locale.UK)
|
val title = "Top - " + top.attr("id").split("-")[1].capitalize(Locale.UK)
|
||||||
val anime = top.select("li > a").map {
|
val anime = top.select("li > a").map {
|
||||||
AnimeSearchResponse(
|
AnimeSearchResponse(
|
||||||
it.selectFirst(".thumb-title").text(),
|
it.selectFirst(".thumb-title").text(),
|
||||||
|
|
Loading…
Reference in a new issue