Update UnionMangas Referer header to the new home url. (#1645)
Update UnionMangas "Referer" header to the new home url
This commit is contained in:
parent
37d3badddd
commit
657aeed536
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: Union Mangás'
|
||||
pkgNameSuffix = 'pt.unionmangas'
|
||||
extClass = '.UnionMangas'
|
||||
extVersionCode = 8
|
||||
extVersionCode = 9
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -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 ""
|
||||
|
|
Loading…
Reference in New Issue