diff --git a/src/pt/yesmangas/build.gradle b/src/pt/yesmangas/build.gradle index 67f72e192..4a6e0ad90 100644 --- a/src/pt/yesmangas/build.gradle +++ b/src/pt/yesmangas/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'YES Mangás' pkgNameSuffix = 'pt.yesmangas' extClass = '.YesMangas' - extVersionCode = 4 + extVersionCode = 5 libVersion = '1.2' } diff --git a/src/pt/yesmangas/src/eu/kanade/tachiyomi/extension/pt/yesmangas/YesMangas.kt b/src/pt/yesmangas/src/eu/kanade/tachiyomi/extension/pt/yesmangas/YesMangas.kt index 0bb131434..372447c37 100644 --- a/src/pt/yesmangas/src/eu/kanade/tachiyomi/extension/pt/yesmangas/YesMangas.kt +++ b/src/pt/yesmangas/src/eu/kanade/tachiyomi/extension/pt/yesmangas/YesMangas.kt @@ -119,7 +119,7 @@ class YesMangas : ParsedHttpSource() { private fun String.withoutLanguage(): String = replace(LANG_REGEX, "") - private fun String.toLargeUrl(): String = replace(IMAGE_REGEX, ".") + private fun String.toLargeUrl(): String = replace(IMAGE_REGEX, "_full.") private fun Elements.textWithoutLabel(): String = text()!!.substringAfter(":").trim() @@ -130,7 +130,8 @@ class YesMangas : ParsedHttpSource() { } companion object { - private const val USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36" + private const val USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " + + "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36" private val LANG_REGEX = "( )?\\((PT-)?BR\\)".toRegex() private val IMAGE_REGEX = "_(small|medium|xmedium|xlarge)\\.".toRegex()