diff --git a/src/all/photos18/build.gradle b/src/all/photos18/build.gradle index 05f0662f6..9c563a948 100644 --- a/src/all/photos18/build.gradle +++ b/src/all/photos18/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Photos18' extClass = '.Photos18' - extVersionCode = 2 + extVersionCode = 3 isNsfw = true } diff --git a/src/all/photos18/src/eu/kanade/tachiyomi/extension/all/photos18/Photos18.kt b/src/all/photos18/src/eu/kanade/tachiyomi/extension/all/photos18/Photos18.kt index 63c504611..002264604 100644 --- a/src/all/photos18/src/eu/kanade/tachiyomi/extension/all/photos18/Photos18.kt +++ b/src/all/photos18/src/eu/kanade/tachiyomi/extension/all/photos18/Photos18.kt @@ -51,7 +51,7 @@ class Photos18 : HttpSource(), ConfigurableSource { SManga.create().apply { url = link.attr("href").stripLang() title = link.ownText() - thumbnail_url = baseUrl + it.selectFirst(Evaluator.Tag("img"))!!.attr("data-src") + thumbnail_url = baseUrl + it.selectFirst(Evaluator.Tag("img"))!!.attr("src") genre = cardBody.selectFirst(Evaluator.Tag("label"))!!.ownText() status = SManga.COMPLETED initialized = true @@ -100,7 +100,7 @@ class Photos18 : HttpSource(), ConfigurableSource { val document = response.asJsoup() val images = document.selectFirst(Evaluator.Id("content"))!!.select(Evaluator.Tag("img")) return images.mapIndexed { index, image -> - Page(index, imageUrl = image.attr("data-src")) + Page(index, imageUrl = image.attr("src")) } }