updated the image selector (#8831)

* Updated the imageUrl selector

the whole extension is working except the image selector which was just updated

* update build.gradle to 36
This commit is contained in:
abhijeetChawla 2021-08-25 16:04:47 +05:30 committed by GitHub
parent 62d18420bf
commit d3ecc55814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ class TuMangaOnline : ConfigurableSource, ParsedHttpSource() {
override fun imageRequest(page: Page) = GET(page.imageUrl!!, headers) override fun imageRequest(page: Page) = GET(page.imageUrl!!, headers)
override fun imageUrlParse(document: Document): String { override fun imageUrlParse(document: Document): String {
return document.select("div.viewer-container > div.img-container > img.viewer-image").attr("src") return document.select("div.viewer-container > div.viewer-image-container > img.viewer-image").attr("src")
} }
private fun searchMangaByIdRequest(id: String) = GET("$baseUrl/$PREFIX_LIBRARY/$id", headers) private fun searchMangaByIdRequest(id: String) = GET("$baseUrl/$PREFIX_LIBRARY/$id", headers)