KissManga - Upgrade User-Agent (#2503)

This commit is contained in:
happywillow0 2020-03-25 05:58:44 -04:00 committed by GitHub
parent c8f3eea405
commit 1c29f4b11b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Kissmanga' appName = 'Tachiyomi: Kissmanga'
pkgNameSuffix = 'en.kissmanga' pkgNameSuffix = 'en.kissmanga'
extClass = '.Kissmanga' extClass = '.Kissmanga'
extVersionCode = 11 extVersionCode = 12
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -28,7 +28,7 @@ class Kissmanga : ParsedHttpSource() {
override fun headersBuilder(): Headers.Builder { override fun headersBuilder(): Headers.Builder {
return Headers.Builder() return Headers.Builder()
.add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64) Gecko/20100101 Firefox/60") .add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64) Gecko/20100101 Firefox/74.0")
} }
override fun popularMangaSelector() = "table.listing tr:gt(1)" override fun popularMangaSelector() = "table.listing tr:gt(1)"