Rename "ManhuaOnline" to "SamuraiScans" and remove the old extension (#3095)

rebrand
This commit is contained in:
bapeey 2024-05-18 09:53:23 -05:00 committed by Draff
parent bc808a6bc4
commit d9e487bfb3
7 changed files with 10 additions and 6 deletions

View File

@ -1,9 +1,9 @@
ext { ext {
extName = 'Manhua Online' extName = 'SamuraiScan'
extClass = '.ManhuaOnline' extClass = '.SamuraiScan'
themePkg = 'madara' themePkg = 'madara'
baseUrl = 'https://blog.manhuaonline.org' baseUrl = 'https://blog.manhuaonline.org'
overrideVersionCode = 2 overrideVersionCode = 3
isNsfw = false isNsfw = false
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -6,12 +6,14 @@ import okhttp3.OkHttpClient
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
class ManhuaOnline : Madara( class SamuraiScan : Madara(
"Manhua Online", "SamuraiScan",
"https://blog.manhuaonline.org", "https://blog.manhuaonline.org",
"es", "es",
SimpleDateFormat("dd 'de' MMMM 'de' yyyy", Locale("es")), SimpleDateFormat("dd MMMM, yyyy", Locale("es")),
) { ) {
override val id = 5713083996691468192
override val useLoadMoreRequest = LoadMoreStrategy.Never override val useLoadMoreRequest = LoadMoreStrategy.Never
override val useNewChapterEndpoint = true override val useNewChapterEndpoint = true
@ -20,4 +22,6 @@ class ManhuaOnline : Madara(
override val client: OkHttpClient = super.client.newBuilder() override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(3) .rateLimit(3)
.build() .build()
override val mangaDetailsSelectorDescription = "div.summary_content div.manga-summary"
} }