mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
MangaHub: Update API and CDN URLs (#807)
This commit is contained in:
parent
d730231c8f
commit
47df5d57d0
@ -39,14 +39,14 @@ import java.util.Locale
|
||||
|
||||
abstract class MangaHub(
|
||||
override val name: String,
|
||||
override val baseUrl: String,
|
||||
final override val baseUrl: String,
|
||||
override val lang: String,
|
||||
private val dateFormat: SimpleDateFormat = SimpleDateFormat("MM-dd-yyyy", Locale.US),
|
||||
) : ParsedHttpSource() {
|
||||
|
||||
override val supportsLatest = true
|
||||
|
||||
private var baseApiUrl = "https://api.mghcdn.com"
|
||||
private var baseApiUrl = "$baseUrl/api"
|
||||
private var baseCdnUrl = "https://imgx.mghcdn.com"
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
|
@ -9,7 +9,7 @@ class MangaHubGenerator : ThemeSourceGenerator {
|
||||
|
||||
override val themeClass = "MangaHub"
|
||||
|
||||
override val baseVersionCode: Int = 23
|
||||
override val baseVersionCode: Int = 24
|
||||
|
||||
override val sources = listOf(
|
||||
// SingleLang("1Manga.co", "https://1manga.co", "en", isNsfw = true, className = "OneMangaCo"),
|
||||
|
Loading…
Reference in New Issue
Block a user