mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 18:32:39 +01:00
parent
415a57f81a
commit
7076bc6577
@ -3,7 +3,7 @@ ext {
|
||||
extClass = '.Mangaforfreecom'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://mangaforfree.com'
|
||||
overrideVersionCode = 1
|
||||
overrideVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,9 @@ package eu.kanade.tachiyomi.extension.en.mangaforfreecom
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import okhttp3.OkHttpClient
|
||||
import org.jsoup.nodes.Document
|
||||
import java.security.cert.X509Certificate
|
||||
import javax.net.ssl.SSLContext
|
||||
import javax.net.ssl.TrustManager
|
||||
@ -41,4 +43,9 @@ class Mangaforfreecom : Madara("Mangaforfree.com", "https://mangaforfree.com", "
|
||||
.sslSocketFactory(sslSocketFactory, trustAllCerts[0] as X509TrustManager)
|
||||
.hostnameVerifier { _, _ -> true }.build()
|
||||
}
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
return super.pageListParse(document)
|
||||
.onEach { it.imageUrl = it.imageUrl!!.replace("http://", "https://") }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user