MangaDistrict: fix next page (#1730)
* MangaDistrict: fix next page * mangasubdirectory
This commit is contained in:
parent
f42f301af4
commit
757b067214
|
@ -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("\\(.*\\)")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue