diff --git a/src/en/theduckwebcomics/build.gradle b/src/en/theduckwebcomics/build.gradle index a1f6d48b2..1dc2af8f1 100644 --- a/src/en/theduckwebcomics/build.gradle +++ b/src/en/theduckwebcomics/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'The Duck Webcomics' pkgNameSuffix = 'en.theduckwebcomics' extClass = '.TheDuckWebcomics' - extVersionCode = 1 + extVersionCode = 2 isNsfw = true } diff --git a/src/en/theduckwebcomics/src/eu/kanade/tachiyomi/extension/en/theduckwebcomics/TheDuckWebcomics.kt b/src/en/theduckwebcomics/src/eu/kanade/tachiyomi/extension/en/theduckwebcomics/TheDuckWebcomics.kt index 3c9dc6c86..ef8752242 100644 --- a/src/en/theduckwebcomics/src/eu/kanade/tachiyomi/extension/en/theduckwebcomics/TheDuckWebcomics.kt +++ b/src/en/theduckwebcomics/src/eu/kanade/tachiyomi/extension/en/theduckwebcomics/TheDuckWebcomics.kt @@ -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")