parent
1e3fcf61e0
commit
0aad6922e4
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'MangaHost'
|
||||
pkgNameSuffix = 'pt.mangahost'
|
||||
extClass = '.MangaHost'
|
||||
extVersionCode = 14
|
||||
extVersionCode = 15
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ class MangaHost : ParsedHttpSource() {
|
|||
|
||||
override val name = "Mangá Host"
|
||||
|
||||
override val baseUrl = "https://mangahost2.com"
|
||||
override val baseUrl = "https://mangahosted.com"
|
||||
|
||||
override val lang = "pt-BR"
|
||||
|
||||
|
@ -163,7 +163,8 @@ class MangaHost : ParsedHttpSource() {
|
|||
private fun Elements.textWithoutLabel(): String = text()!!.substringAfter(":").trim()
|
||||
|
||||
companion object {
|
||||
private const val USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36"
|
||||
private const val USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " +
|
||||
"AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 Safari/537.36"
|
||||
|
||||
private val LANG_REGEX = "( )?\\((PT-)?BR\\)".toRegex()
|
||||
private val IMAGE_REGEX = "_(small|medium|xmedium)\\.".toRegex()
|
||||
|
|
Loading…
Reference in New Issue