Last fix for the JapScan Thumbnails (#4517)
* Fix for thumbnails loading * Increment Version * Second fix for the JapScan Thumbnails * Second fix for the JapScan Thumbnails * Last fix for the JapScan Thumbnails Co-authored-by: DF-Aces <johanbaker98gmail.com>
This commit is contained in:
parent
61f16d26e9
commit
855aa18430
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Japscan'
|
||||
pkgNameSuffix = 'fr.japscan'
|
||||
extClass = '.Japscan'
|
||||
extVersionCode = 23
|
||||
extVersionCode = 24
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@ class Japscan : ConfigurableSource, ParsedHttpSource() {
|
|||
element.select("a").first().let {
|
||||
manga.setUrlWithoutDomain(it.attr("href"))
|
||||
manga.title = it.text()
|
||||
manga.thumbnail_url = "$baseUrl/imgs/${it.attr("href").replace(Regex("/$"),".jpg")}".toLowerCase(Locale.ROOT)
|
||||
manga.thumbnail_url = "$baseUrl/imgs/${it.attr("href").replace(Regex("/$"),".jpg").replace("manga","mangas")}".toLowerCase(Locale.ROOT)
|
||||
}
|
||||
return manga
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue