MangaDistrict: fix next page ()

* MangaDistrict: fix next page

* mangasubdirectory
This commit is contained in:
AwkwardPeak7 2024-03-08 14:57:37 +05:00 committed by Draff
parent f42f301af4
commit 757b067214
2 changed files with 4 additions and 2 deletions
src/en/mangadistrict
build.gradle
src/eu/kanade/tachiyomi/extension/en/mangadistrict

@ -3,7 +3,7 @@ ext {
extClass = '.MangaDistrict' extClass = '.MangaDistrict'
themePkg = 'madara' themePkg = 'madara'
baseUrl = 'https://mangadistrict.com' baseUrl = 'https://mangadistrict.com'
overrideVersionCode = 3 overrideVersionCode = 4
isNsfw = true isNsfw = true
} }

@ -23,11 +23,13 @@ class MangaDistrict :
), ),
ConfigurableSource { ConfigurableSource {
override val mangaSubString = "read-scan"
private val preferences: SharedPreferences by lazy { private val preferences: SharedPreferences by lazy {
Injekt.get<Application>().getSharedPreferences("source_$id", 0x0000) Injekt.get<Application>().getSharedPreferences("source_$id", 0x0000)
} }
override fun searchMangaNextPageSelector() = "div[role=navigation] span.current + a.page" override fun popularMangaNextPageSelector() = "div[role=navigation] span.current + a.page"
private val titleVersion = Regex("\\(.*\\)") private val titleVersion = Regex("\\(.*\\)")