ReaperScans: use absolute src to handle cloudflare mirage links (#14813)

* fix reaperscans image links

* update extVersionCode

* fix extra slash

* use absolute src
This commit is contained in:
Aria Moradi 2023-01-06 16:59:03 +03:30 committed by GitHub
parent e6f2cc1da7
commit 79a5a0f948
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Reaper Scans'
pkgNameSuffix = 'en.reaperscans'
extClass = '.ReaperScans'
extVersionCode = 40
extVersionCode = 41
}
apply from: "$rootDir/common.gradle"

View File

@ -276,7 +276,7 @@ class ReaperScans : ParsedHttpSource() {
// Page
override fun pageListParse(document: Document): List<Page> {
return document.select("img.max-w-full").mapIndexed { index, element ->
Page(index, imageUrl = element.attr("src"))
Page(index, imageUrl = element.attr("abs:src"))
}
}