Add MangaTX (#6041)
This commit is contained in:
parent
51c238bb6e
commit
875dbcde3a
|
@ -0,0 +1,10 @@
|
||||||
|
ext {
|
||||||
|
extName = 'MangaTX'
|
||||||
|
extClass = '.MangaTX'
|
||||||
|
themePkg = 'mangathemesia'
|
||||||
|
baseUrl = 'https://mangatx.cc'
|
||||||
|
overrideVersionCode = 0
|
||||||
|
isNsfw = true
|
||||||
|
}
|
||||||
|
|
||||||
|
apply from: "$rootDir/common.gradle"
|
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
|
@ -0,0 +1,20 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.en.mangatx
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
|
class MangaTX : MangaThemesia(
|
||||||
|
"MangaTX",
|
||||||
|
"https://mangatx.cc",
|
||||||
|
"en",
|
||||||
|
mangaUrlDirectory = "/manga-list",
|
||||||
|
dateFormat = SimpleDateFormat("dd-MM-yyyy", Locale.ROOT),
|
||||||
|
) {
|
||||||
|
override val client = super.client.newBuilder()
|
||||||
|
.rateLimit(3)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val seriesAuthorSelector = ".imptdt:contains(Author) a"
|
||||||
|
}
|
Loading…
Reference in New Issue