Add Etheral Radiance (#3714)
This commit is contained in:
parent
b6cba48ba7
commit
e5f63b46c7
14
src/fr/etheralradiance/build.gradle
Normal file
14
src/fr/etheralradiance/build.gradle
Normal 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"))
|
||||||
|
}
|
BIN
src/fr/etheralradiance/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/fr/etheralradiance/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.2 KiB |
BIN
src/fr/etheralradiance/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/fr/etheralradiance/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
BIN
src/fr/etheralradiance/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/fr/etheralradiance/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
src/fr/etheralradiance/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/fr/etheralradiance/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
BIN
src/fr/etheralradiance/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/fr/etheralradiance/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
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…
x
Reference in New Issue
Block a user