Update HentaiVNParser.kt

master
Draken 2 years ago committed by GitHub
parent cc8369e02a
commit cf5abdf7d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -23,7 +23,7 @@ private const val SEARCH_PAGE_SIZE = 10
@MangaSourceParser("HENTAIVN", "HentaiVN", "vi", type = ContentType.HENTAI)
class HentaiVNParser(context: MangaLoaderContext) : MangaParser(context, MangaSource.HENTAIVN) {
override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain("zhentaivn.cc", "hentaivn.bio")
override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain("zhentaivnz.cc", "hentaivn.homes")
// hentaivn has created 2 different interfaces for mobile and desktop, and Cloudflare detects whether it's mobile or not even with a desktop user agent.
override val headers: Headers = Headers.Builder().add("User-Agent", UserAgents.FIREFOX_DESKTOP).build()

Loading…
Cancel
Save