ManaMoa: update default URL (closes #1277)
This commit is contained in:
parent
b04801d953
commit
6b8a4e9ec6
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: ManaMoa (MangaShow.Me)'
|
appName = 'Tachiyomi: ManaMoa (MangaShow.Me)'
|
||||||
pkgNameSuffix = 'ko.mangashowme'
|
pkgNameSuffix = 'ko.mangashowme'
|
||||||
extClass = '.MSMFactory'
|
extClass = '.MSMFactory'
|
||||||
extVersionCode = 12
|
extVersionCode = 13
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,9 +36,13 @@ import java.util.concurrent.TimeUnit
|
||||||
* `manga_list` returns latest 'added' manga. not a chapter updates.
|
* `manga_list` returns latest 'added' manga. not a chapter updates.
|
||||||
**/
|
**/
|
||||||
class ManaMoa : ConfigurableSource, ParsedHttpSource() {
|
class ManaMoa : ConfigurableSource, ParsedHttpSource() {
|
||||||
|
|
||||||
override val name = "ManaMoa"
|
override val name = "ManaMoa"
|
||||||
private val defaultBaseUrl = "https://manamoa3.net"
|
|
||||||
|
// This keeps updating: https://twitter.com/manamoa20
|
||||||
|
private val defaultBaseUrl = "https://manamoa13.net"
|
||||||
override val baseUrl by lazy { getPrefBaseUrl() }
|
override val baseUrl by lazy { getPrefBaseUrl() }
|
||||||
|
|
||||||
override val lang: String = "ko"
|
override val lang: String = "ko"
|
||||||
|
|
||||||
// Latest updates currently returns duplicate manga as it separates manga into chapters
|
// Latest updates currently returns duplicate manga as it separates manga into chapters
|
||||||
|
@ -287,7 +291,7 @@ class ManaMoa : ConfigurableSource, ParsedHttpSource() {
|
||||||
screen.addPreference(baseUrlPref)
|
screen.addPreference(baseUrlPref)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getPrefBaseUrl(): String = preferences.getString(BASE_URL_PREF, defaultBaseUrl)
|
private fun getPrefBaseUrl(): String = preferences.getString(BASE_URL_PREF, defaultBaseUrl)!!
|
||||||
|
|
||||||
override fun getFilterList() = getFilters()
|
override fun getFilterList() = getFilters()
|
||||||
|
|
||||||
|
@ -300,4 +304,4 @@ class ManaMoa : ConfigurableSource, ParsedHttpSource() {
|
||||||
internal const val V1_CX = 5
|
internal const val V1_CX = 5
|
||||||
internal const val V1_CY = 5
|
internal const val V1_CY = 5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue