From 657aeed536701efb3dbf48d4fb47986084f16fa1 Mon Sep 17 00:00:00 2001 From: Alessandro Jean Date: Mon, 14 Oct 2019 00:00:48 -0300 Subject: [PATCH] Update UnionMangas Referer header to the new home url. (#1645) Update UnionMangas "Referer" header to the new home url --- src/pt/unionmangas/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/pt/unionmangas/UnionMangas.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pt/unionmangas/build.gradle b/src/pt/unionmangas/build.gradle index 30258de78..37bb5f0b8 100644 --- a/src/pt/unionmangas/build.gradle +++ b/src/pt/unionmangas/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Union Mangás' pkgNameSuffix = 'pt.unionmangas' extClass = '.UnionMangas' - extVersionCode = 8 + extVersionCode = 9 libVersion = '1.2' } diff --git a/src/pt/unionmangas/src/eu/kanade/tachiyomi/extension/pt/unionmangas/UnionMangas.kt b/src/pt/unionmangas/src/eu/kanade/tachiyomi/extension/pt/unionmangas/UnionMangas.kt index d2171e9d7..bf3ee7a60 100644 --- a/src/pt/unionmangas/src/eu/kanade/tachiyomi/extension/pt/unionmangas/UnionMangas.kt +++ b/src/pt/unionmangas/src/eu/kanade/tachiyomi/extension/pt/unionmangas/UnionMangas.kt @@ -38,7 +38,7 @@ class UnionMangas : ParsedHttpSource() { override fun headersBuilder(): Headers.Builder = Headers.Builder() .add("User-Agent", USER_AGENT) .add("Origin", baseUrl) - .add("Referer", "$baseUrl/ne") + .add("Referer", "$baseUrl/home-nn") override fun popularMangaRequest(page: Int): Request { val pageStr = if (page != 1) "/$page" else ""