diff --git a/src/es/ikuhentai/src/eu/kanade/tachiyomi/extension/es/ikuhentai/Ikuhentai.kt b/src/es/ikuhentai/src/eu/kanade/tachiyomi/extension/es/ikuhentai/Ikuhentai.kt index 2e6718931..58cc6ca80 100755 --- a/src/es/ikuhentai/src/eu/kanade/tachiyomi/extension/es/ikuhentai/Ikuhentai.kt +++ b/src/es/ikuhentai/src/eu/kanade/tachiyomi/extension/es/ikuhentai/Ikuhentai.kt @@ -1,18 +1,18 @@ package eu.kanade.tachiyomi.extension.es.ikuhentai -import android.net.Uri import eu.kanade.tachiyomi.network.GET +import eu.kanade.tachiyomi.source.model.Filter +import eu.kanade.tachiyomi.source.model.FilterList +import eu.kanade.tachiyomi.source.model.Page +import eu.kanade.tachiyomi.source.model.SChapter +import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.online.ParsedHttpSource -import okhttp3.* +import okhttp3.Headers +import okhttp3.HttpUrl +import okhttp3.OkHttpClient +import okhttp3.Request import org.jsoup.nodes.Document import org.jsoup.nodes.Element -import java.text.SimpleDateFormat -import java.util.* -import eu.kanade.tachiyomi.source.model.* -import java.text.ParseException -import org.jsoup.nodes.DataNode -import android.util.Log - class Ikuhentai : ParsedHttpSource() { override val name = "Ikuhentai" @@ -143,13 +143,11 @@ class Ikuhentai : ParsedHttpSource() { val urlElement = element.select("a").first() var url = urlElement.attr("href") url = url.replace("/p/1","") - url = url+"?style=list" - Log.d("URL", url) + url += "?style=list" val chapter = SChapter.create() chapter.setUrlWithoutDomain(url) chapter.name = urlElement.text() - return chapter } @@ -165,7 +163,6 @@ class Ikuhentai : ParsedHttpSource() { } override fun pageListParse(document: Document): List { - val pages = mutableListOf() var i = 0 document.select("div.reading-content * img").forEach { element -> @@ -199,10 +196,6 @@ class Ikuhentai : ParsedHttpSource() { Pair("Nuevo", "new-manga") )) - - - - private class Genre(name: String, val id: String = name) : Filter.TriState(name) private class GenreList(genres: List) : Filter.Group("Genres", genres) private class Status(name: String, val id: String = name) : Filter.TriState(name) diff --git a/src/id/komikgo/src/eu/kanade/tachiyomi/extension/id/komikgo/Komikgo.kt b/src/id/komikgo/src/eu/kanade/tachiyomi/extension/id/komikgo/Komikgo.kt index 23acf46e9..1105b5f1f 100644 --- a/src/id/komikgo/src/eu/kanade/tachiyomi/extension/id/komikgo/Komikgo.kt +++ b/src/id/komikgo/src/eu/kanade/tachiyomi/extension/id/komikgo/Komikgo.kt @@ -1,15 +1,21 @@ package eu.kanade.tachiyomi.extension.id.komikgo -import java.util.* -import android.util.Log import eu.kanade.tachiyomi.network.GET -import java.text.ParseException +import eu.kanade.tachiyomi.source.model.Filter +import eu.kanade.tachiyomi.source.model.FilterList +import eu.kanade.tachiyomi.source.model.Page +import eu.kanade.tachiyomi.source.model.SChapter +import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.online.ParsedHttpSource -import okhttp3.* +import okhttp3.Headers +import okhttp3.HttpUrl +import okhttp3.OkHttpClient +import okhttp3.Request import org.jsoup.nodes.Document import org.jsoup.nodes.Element +import java.text.ParseException import java.text.SimpleDateFormat -import eu.kanade.tachiyomi.source.model.* +import java.util.Locale class Komikgo : ParsedHttpSource() { @@ -101,13 +107,11 @@ class Komikgo : ParsedHttpSource() { is TextField -> url.addQueryParameter(filter.key, filter.state) } } - Log.d("TAG", url.toString()) return GET(url.toString(), headers) } - // max 200 results override fun mangaDetailsParse(document: Document): SManga { @@ -285,4 +289,4 @@ class Komikgo : ParsedHttpSource() { fun toUriPart() = vals[state].second } -} \ No newline at end of file +} diff --git a/src/vi/blogtruyen/src/eu/kanade/tachiyomi/extension/vi/blogtruyen/Blogtruyen.kt b/src/vi/blogtruyen/src/eu/kanade/tachiyomi/extension/vi/blogtruyen/Blogtruyen.kt index f8378ec50..b85f7b9b5 100644 --- a/src/vi/blogtruyen/src/eu/kanade/tachiyomi/extension/vi/blogtruyen/Blogtruyen.kt +++ b/src/vi/blogtruyen/src/eu/kanade/tachiyomi/extension/vi/blogtruyen/Blogtruyen.kt @@ -1,8 +1,11 @@ package eu.kanade.tachiyomi.extension.vi.blogtruyen -import android.util.Log import eu.kanade.tachiyomi.network.GET -import eu.kanade.tachiyomi.source.model.* +import eu.kanade.tachiyomi.source.model.Filter +import eu.kanade.tachiyomi.source.model.FilterList +import eu.kanade.tachiyomi.source.model.Page +import eu.kanade.tachiyomi.source.model.SChapter +import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.online.ParsedHttpSource import okhttp3.HttpUrl import okhttp3.OkHttpClient @@ -88,7 +91,6 @@ class Blogtruyen : ParsedHttpSource() { url.addQueryParameter("txt", query) if (!aut.isEmpty()) url.addQueryParameter("aut", aut) url.addQueryParameter("p", page.toString()) - Log.i("tachiyomi", url.toString()) return GET(url.toString().replace("m.", ""), headers) } diff --git a/src/vi/iutruyentranh/src/eu/kanade/tachiyomi/extension/vi/iutruyentranh/Iutruyentranh.kt b/src/vi/iutruyentranh/src/eu/kanade/tachiyomi/extension/vi/iutruyentranh/Iutruyentranh.kt index 26c44931c..f0512e88d 100644 --- a/src/vi/iutruyentranh/src/eu/kanade/tachiyomi/extension/vi/iutruyentranh/Iutruyentranh.kt +++ b/src/vi/iutruyentranh/src/eu/kanade/tachiyomi/extension/vi/iutruyentranh/Iutruyentranh.kt @@ -1,8 +1,11 @@ package eu.kanade.tachiyomi.extension.vi.iutruyentranh -import android.util.Log import eu.kanade.tachiyomi.network.GET -import eu.kanade.tachiyomi.source.model.* +import eu.kanade.tachiyomi.source.model.Filter +import eu.kanade.tachiyomi.source.model.FilterList +import eu.kanade.tachiyomi.source.model.Page +import eu.kanade.tachiyomi.source.model.SChapter +import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.online.ParsedHttpSource import okhttp3.HttpUrl import okhttp3.OkHttpClient @@ -74,7 +77,6 @@ class Iutruyentranh : ParsedHttpSource() { if (genres.isNotEmpty()) url.addQueryParameter("genres", genres.joinToString(",")) if (genresEx.isNotEmpty()) url.addQueryParameter("genres-exclude", genresEx.joinToString(",")) - Log.i("tachiyomi", url.toString()) return GET(url.toString(), headers) } @@ -198,4 +200,4 @@ class Iutruyentranh : ParsedHttpSource() { Genre("Yaoi"), Genre("Yuri") ) -} \ No newline at end of file +}