Update Kissmanga User-Agent (#2762)

Update Kissmanga User-Agent
This commit is contained in:
armangido 2020-04-23 01:23:51 +08:00 committed by GitHub
parent c250781302
commit 23c7ebfeb7
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 = 14 extVersionCode = 15
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -39,7 +39,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; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36") .add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36")
} }
override fun popularMangaSelector() = "table.listing tr:gt(1)" override fun popularMangaSelector() = "table.listing tr:gt(1)"