diff --git a/src/en/mangafree/build.gradle b/src/en/mangafree/build.gradle index 71e1db225..7cf490583 100644 --- a/src/en/mangafree/build.gradle +++ b/src/en/mangafree/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Mangafree' pkgNameSuffix = 'en.mangafree' extClass = '.Mangafree' - extVersionCode = 3 + extVersionCode = 4 libVersion = '1.2' } diff --git a/src/en/mangafree/src/eu/kanade/tachiyomi/extension/en/mangafree/Mangafree.kt b/src/en/mangafree/src/eu/kanade/tachiyomi/extension/en/mangafree/Mangafree.kt index a11d4274a..179cdb653 100644 --- a/src/en/mangafree/src/eu/kanade/tachiyomi/extension/en/mangafree/Mangafree.kt +++ b/src/en/mangafree/src/eu/kanade/tachiyomi/extension/en/mangafree/Mangafree.kt @@ -135,7 +135,8 @@ class Mangafree : ParsedHttpSource() { val urlElement = element.select("a").first() val chapter = SChapter.create() - chapter.setUrlWithoutDomain(urlElement.attr("href")) + val url = urlElement.attr("href").replace("[","%255B").replace("]","%255D") + chapter.setUrlWithoutDomain(url) chapter.name = urlElement.text() return chapter }