diff --git a/src/en/mangafast/build.gradle b/src/en/mangafast/build.gradle index e88734ea1..35a46b65c 100644 --- a/src/en/mangafast/build.gradle +++ b/src/en/mangafast/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'MangaFast' pkgNameSuffix = 'en.mangafast' extClass = '.MangaFast' - extVersionCode = 1 + extVersionCode = 2 libVersion = '1.2' } diff --git a/src/en/mangafast/src/eu/kanade/tachiyomi/extension/en/mangafast/MangaFast.kt b/src/en/mangafast/src/eu/kanade/tachiyomi/extension/en/mangafast/MangaFast.kt index 5a3f99841..554e7bb52 100644 --- a/src/en/mangafast/src/eu/kanade/tachiyomi/extension/en/mangafast/MangaFast.kt +++ b/src/en/mangafast/src/eu/kanade/tachiyomi/extension/en/mangafast/MangaFast.kt @@ -81,7 +81,13 @@ class MangaFast: ParsedHttpSource() { override fun pageListParse(document: Document): List { return document.select("div.chp2 > img").mapIndexed { i, element -> - Page(i, "", element.attr("abs:src")) + var url = element.attr("abs:data-src") + + if (url.isEmpty()) { + url = element.attr("abs:src") + } + + Page(i, "", url) } }