parent
6c46cc395c
commit
5a6ff3fa78
|
@ -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<Page> {
|
||||
|
||||
val pages = mutableListOf<Page>()
|
||||
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<Genre>) : Filter.Group<Genre>("Genres", genres)
|
||||
private class Status(name: String, val id: String = name) : Filter.TriState(name)
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -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")
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue