diff --git a/src/en/myhentaigallery/build.gradle b/src/en/myhentaigallery/build.gradle index fc90516aa..7bcb99817 100644 --- a/src/en/myhentaigallery/build.gradle +++ b/src/en/myhentaigallery/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'MyHentaiGallery' pkgNameSuffix = 'en.myhentaigallery' extClass = '.MyHentaiGallery' - extVersionCode = 4 + extVersionCode = 5 isNsfw = true } diff --git a/src/en/myhentaigallery/src/eu/kanade/tachiyomi/extension/en/myhentaigallery/MyHentaiGallery.kt b/src/en/myhentaigallery/src/eu/kanade/tachiyomi/extension/en/myhentaigallery/MyHentaiGallery.kt index 203e864ab..e872e4220 100644 --- a/src/en/myhentaigallery/src/eu/kanade/tachiyomi/extension/en/myhentaigallery/MyHentaiGallery.kt +++ b/src/en/myhentaigallery/src/eu/kanade/tachiyomi/extension/en/myhentaigallery/MyHentaiGallery.kt @@ -141,7 +141,7 @@ class MyHentaiGallery : ParsedHttpSource() { // Pages override fun pageListParse(document: Document): List<Page> { - return document.select("div.comic-thumb img").mapIndexed { i, img -> + return document.select("div.comic-thumb img[src]").mapIndexed { i, img -> Page(i, "", img.attr("abs:src").replace("/thumbnail/", "/original/")) } }