[RU] MangalIb Сhanging the domain/mirror (#6808)
* changing the domain/mirror to fix 403 * +comment * -typo
This commit is contained in:
parent
4c5f86ed6b
commit
bd2ff83322
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'MangaLib'
|
extName = 'MangaLib'
|
||||||
pkgNameSuffix = 'ru.libmanga'
|
pkgNameSuffix = 'ru.libmanga'
|
||||||
extClass = '.LibManga'
|
extClass = '.LibManga'
|
||||||
extVersionCode = 39
|
extVersionCode = 40
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,8 @@ class LibManga : ConfigurableSource, HttpSource() {
|
||||||
|
|
||||||
override val client: OkHttpClient = network.cloudflareClient
|
override val client: OkHttpClient = network.cloudflareClient
|
||||||
|
|
||||||
override val baseUrl: String = "https://mangalib.me"
|
//The mirror is used because the main site "mangalib.me" in application returns error 403
|
||||||
|
override val baseUrl: String = "https://mangalib.org"
|
||||||
|
|
||||||
override fun headersBuilder() = Headers.Builder().apply {
|
override fun headersBuilder() = Headers.Builder().apply {
|
||||||
add("User-Agent", "Mozilla/5.0 (Windows NT 6.3; WOW64)")
|
add("User-Agent", "Mozilla/5.0 (Windows NT 6.3; WOW64)")
|
||||||
|
|
Loading…
Reference in New Issue