TheDuckWebcomics: fix image URL (#17034)
This commit is contained in:
parent
f1a52a29be
commit
4847904078
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'The Duck Webcomics'
|
||||
pkgNameSuffix = 'en.theduckwebcomics'
|
||||
extClass = '.TheDuckWebcomics'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ class TheDuckWebcomics : ParsedHttpSource() {
|
|||
addQueryParameter("search", query)
|
||||
addQueryParameter("page", page.toString())
|
||||
filters.forEach { (it as QueryParam).encode(this) }
|
||||
GET(toString(), headers)
|
||||
GET(build(), headers)
|
||||
}
|
||||
|
||||
override fun searchMangaFromElement(element: Element) =
|
||||
|
@ -85,7 +85,7 @@ class TheDuckWebcomics : ParsedHttpSource() {
|
|||
}
|
||||
|
||||
override fun pageListParse(document: Document) =
|
||||
listOf(Page(0, "", document.selectFirst(".page-image")!!.attr("src")))
|
||||
listOf(Page(0, "", document.selectFirst(".page-image")!!.absUrl("src")))
|
||||
|
||||
override fun mangaDetailsParse(document: Document) =
|
||||
throw UnsupportedOperationException("Not used")
|
||||
|
|
Loading…
Reference in New Issue