Add GalaxScanlator (#2509)
* Add GalaxScanlator * Add isNsfw * Setup useNewChapterFeed * Setup filters * Simplifies genres selector * Fix popularManga
This commit is contained in:
parent
0bc65ac48a
commit
ecb0606bb4
10
src/pt/galaxscanlator/build.gradle
Normal file
10
src/pt/galaxscanlator/build.gradle
Normal 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"
|
BIN
src/pt/galaxscanlator/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/pt/galaxscanlator/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
BIN
src/pt/galaxscanlator/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/pt/galaxscanlator/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
BIN
src/pt/galaxscanlator/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/pt/galaxscanlator/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.4 KiB |
BIN
src/pt/galaxscanlator/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/pt/galaxscanlator/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.7 KiB |
BIN
src/pt/galaxscanlator/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/pt/galaxscanlator/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
@ -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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user