diff --git a/src/all/foolslide/build.gradle b/src/all/foolslide/build.gradle
index b90087341..6b6f4fbc3 100644
--- a/src/all/foolslide/build.gradle
+++ b/src/all/foolslide/build.gradle
@@ -5,7 +5,7 @@ ext {
extName = 'FoolSlide (multiple sources)'
pkgNameSuffix = 'all.foolslide'
extClass = '.FoolSlideFactory'
- extVersionCode = 55
+ extVersionCode = 56
libVersion = '1.2'
containsNsfw = true
}
diff --git a/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/HentaiCafe.kt b/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/HentaiCafe.kt
index 126d185dc..7c1490769 100644
--- a/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/HentaiCafe.kt
+++ b/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/HentaiCafe.kt
@@ -63,7 +63,9 @@ class HentaiCafe : FoolSlide("Hentai Cafe", "https://hentai.cafe", "en", "/manga
// Example: https://hentai.cafe/aiya-youngest-daughters-circumstances/
override fun chapterListParse(response: Response) = listOf(
SChapter.create().apply {
- setUrlWithoutDomain(response.asJsoup().select("[title=Read]").attr("href"))
+ // Some URLs wrongly end with "
\n" and need to be removed
+ // Example: https://hentai.cafe/hc.fyi/12106
+ setUrlWithoutDomain(response.asJsoup().select("[title=Read]").attr("href").replace("
\\s*".toRegex(), ""))
name = "Chapter"
chapter_number = 1f
}