parent
6008e8cb6b
commit
86b263b82b
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: mangásPROJECT'
|
||||
pkgNameSuffix = 'pt.mangasproject'
|
||||
extClass = '.MangasProjectFactory'
|
||||
extVersionCode = 5
|
||||
extVersionCode = 6
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ abstract class MangasProject(override val name: String,
|
|||
|
||||
override val supportsLatest = true
|
||||
|
||||
private val correctClient = if (name == "MangaLivre") network.cloudflareClient else network.client
|
||||
private val correctClient = network.cloudflareClient
|
||||
|
||||
// Sometimes the site is slow.
|
||||
override val client = correctClient.newBuilder()
|
||||
|
@ -273,7 +273,7 @@ abstract class MangasProject(override val name: String,
|
|||
return result
|
||||
|
||||
val document = result.asJsoup()
|
||||
val readerSrc = document.select("script[src*=\"reader.min.js\"]")
|
||||
val readerSrc = document.select("script[src*=\"reader.\"]")
|
||||
?.attr("src") ?: ""
|
||||
|
||||
val token = TOKEN_REGEX.find(readerSrc)?.groupValues?.get(1) ?: ""
|
||||
|
|
Loading…
Reference in New Issue