Truyenqq: fix download not able to complete (#8373)

* fix non-existed picture references to another site, preventing download completion

* better selection as suggested

* My mind was somewhere else
This commit is contained in:
Cuong-Tran 2025-04-07 19:42:13 +07:00 committed by Draff
parent d0ea9fadc6
commit 364c90339a
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'TruyenQQ'
extClass = '.TruyenQQ'
extVersionCode = 17
extVersionCode = 18
}
apply from: "$rootDir/common.gradle"

View File

@ -133,7 +133,7 @@ class TruyenQQ : ParsedHttpSource() {
// Pages
override fun pageListParse(document: Document): List<Page> =
document.select(".page-chapter img")
document.select(".page-chapter img:not([src*='stress.gif'])")
.mapIndexed { idx, it ->
Page(idx, imageUrl = it.attr("abs:src"))
}