From 79a5a0f9482a7674d3106ed66f737bddb7b5ea63 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Fri, 6 Jan 2023 16:59:03 +0330 Subject: [PATCH] ReaperScans: use absolute src to handle cloudflare mirage links (#14813) * fix reaperscans image links * update extVersionCode * fix extra slash * use absolute src --- src/en/reaperscans/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/en/reaperscans/ReaperScans.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/en/reaperscans/build.gradle b/src/en/reaperscans/build.gradle index 4f906b271..372275f00 100644 --- a/src/en/reaperscans/build.gradle +++ b/src/en/reaperscans/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'Reaper Scans' pkgNameSuffix = 'en.reaperscans' extClass = '.ReaperScans' - extVersionCode = 40 + extVersionCode = 41 } apply from: "$rootDir/common.gradle" diff --git a/src/en/reaperscans/src/eu/kanade/tachiyomi/extension/en/reaperscans/ReaperScans.kt b/src/en/reaperscans/src/eu/kanade/tachiyomi/extension/en/reaperscans/ReaperScans.kt index 85dd4d16c..6abf94858 100644 --- a/src/en/reaperscans/src/eu/kanade/tachiyomi/extension/en/reaperscans/ReaperScans.kt +++ b/src/en/reaperscans/src/eu/kanade/tachiyomi/extension/en/reaperscans/ReaperScans.kt @@ -276,7 +276,7 @@ class ReaperScans : ParsedHttpSource() { // Page override fun pageListParse(document: Document): List { return document.select("img.max-w-full").mapIndexed { index, element -> - Page(index, imageUrl = element.attr("src")) + Page(index, imageUrl = element.attr("abs:src")) } }