Add GalaxScanlator (#2509)

* Add GalaxScanlator

* Add isNsfw

* Setup useNewChapterFeed

* Setup filters

* Simplifies genres selector

* Fix popularManga
This commit is contained in:
Chopper 2024-04-21 04:11:21 -03:00 committed by GitHub
parent fcace1f235
commit 7f59d9ee1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,10 @@
ext {
extName = 'GALAX Scans'
extClass = '.GalaxScanlator'
themePkg = 'zeistmanga'
baseUrl = 'https://galaxscanlator.blogspot.com'
overrideVersionCode = 0
isNsfw = true
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -0,0 +1,29 @@
package eu.kanade.tachiyomi.extension.pt.galaxscanlator
import eu.kanade.tachiyomi.multisrc.zeistmanga.ZeistManga
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import java.util.concurrent.TimeUnit
class GalaxScanlator : ZeistManga(
"GALAX Scans",
"https://galaxscanlator.blogspot.com",
"pt-BR",
) {
override val client = super.client.newBuilder()
.rateLimit(5, 2, TimeUnit.SECONDS)
.build()
override val popularMangaSelector = "#PopularPosts2 article"
override val popularMangaSelectorTitle = "h3"
override val popularMangaSelectorUrl = "a"
override val mangaDetailsSelector = ".grid.gta-series"
override val mangaDetailsSelectorGenres = "dt:contains(Genre) + dd a[rel=tag]"
override val useNewChapterFeed = true
override val chapterCategory = "Capítulo"
override val pageListSelector = "#reader"
override val hasFilters = true
override val hasLanguageFilter = false
}