Update UnionMangas with their new host. (#650)
Update UnionMangas with their new host
This commit is contained in:
parent
f48005b363
commit
2f5b3699b3
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: Union Mangás'
|
appName = 'Tachiyomi: Union Mangás'
|
||||||
pkgNameSuffix = 'pt.unionmangas'
|
pkgNameSuffix = 'pt.unionmangas'
|
||||||
extClass = '.UnionMangas'
|
extClass = '.UnionMangas'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ class UnionMangas : ParsedHttpSource() {
|
||||||
|
|
||||||
override val name = "Union Mangás"
|
override val name = "Union Mangás"
|
||||||
|
|
||||||
override val baseUrl = "http://unionmangas.site"
|
override val baseUrl = "http://unionmangas.top"
|
||||||
|
|
||||||
override val lang = "pt"
|
override val lang = "pt"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ class UnionMangas : ParsedHttpSource() {
|
||||||
|
|
||||||
private val catalogHeaders = Headers.Builder().apply {
|
private val catalogHeaders = 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)")
|
||||||
add("Host", "unionmangas.site")
|
add("Host", "unionmangas.top")
|
||||||
add("Referer", baseUrl)
|
add("Referer", baseUrl)
|
||||||
}.build()
|
}.build()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue