Add Etheral Radiance (#3714)

This commit is contained in:
Vetle Ledaal 2024-06-24 17:03:52 +02:00 committed by Draff
parent b6cba48ba7
commit e5f63b46c7
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
7 changed files with 35 additions and 0 deletions

View File

@ -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

View File

@ -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()
}