YaoiFanClub: Fix webview (#5064)

Fix webview - age validation
This commit is contained in:
Chopper 2024-09-15 04:29:34 -03:00 committed by GitHub
parent e69cae57b8
commit 8fdafaf8b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.YaoiFanClub'
themePkg = 'zeistmanga'
baseUrl = 'https://www.yaoifanclub.com'
overrideVersionCode = 0
overrideVersionCode = 1
isNsfw = true
}

View File

@ -23,6 +23,10 @@ class YaoiFanClub : ZeistManga(
override val hasGenreFilter = true
override val hasStatusFilter = true
override fun headersBuilder() =
super.headersBuilder()
.set("Referer", "https://www.blogger.com/blogin.g?blogspotURL=$baseUrl/&type=blog&bpli=1")
override fun getGenreList(): List<Genre> = listOf(
Genre("ABO", "ABO"),
Genre("Ação", "Ação"),