Update UnionMangas with their new host. ()

Update UnionMangas with their new host
This commit is contained in:
Matheus Gritz 2018-11-29 02:48:20 -02:00 committed by Carlos
parent f48005b363
commit 2f5b3699b3
2 changed files with 3 additions and 3 deletions
src/pt/unionmangas
build.gradle
src/eu/kanade/tachiyomi/extension/pt/unionmangas

@ -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()