Add Etheral Radiance (#3714)
This commit is contained in:
parent
b6cba48ba7
commit
e5f63b46c7
|
@ -0,0 +1,14 @@
|
|||
ext {
|
||||
extName = 'Etheral Radiance'
|
||||
extClass = '.EtheralRadiance'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://www.etheralradiance.eu'
|
||||
overrideVersionCode = 0
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
||||
dependencies {
|
||||
implementation(project(":lib:cookieinterceptor"))
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
|
@ -0,0 +1,21 @@
|
|||
package eu.kanade.tachiyomi.extension.fr.etheralradiance
|
||||
|
||||
import eu.kanade.tachiyomi.lib.cookieinterceptor.CookieInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import okhttp3.HttpUrl.Companion.toHttpUrl
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class EtheralRadiance : MangaThemesia(
|
||||
"Etheral Radiance",
|
||||
"https://www.etheralradiance.eu",
|
||||
"fr",
|
||||
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("fr")),
|
||||
) {
|
||||
// Cookie required for pages
|
||||
private val cookieInterceptor = CookieInterceptor(baseUrl.toHttpUrl().host, "_lscache_vary" to "1")
|
||||
|
||||
override val client = network.cloudflareClient.newBuilder()
|
||||
.addNetworkInterceptor(cookieInterceptor)
|
||||
.build()
|
||||
}
|
Loading…
Reference in New Issue