diff --git a/src/en/readcomiconline/build.gradle b/src/en/readcomiconline/build.gradle index 600549a71..48805208d 100644 --- a/src/en/readcomiconline/build.gradle +++ b/src/en/readcomiconline/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'ReadComicOnline' pkgNameSuffix = 'en.readcomiconline' extClass = '.Readcomiconline' - extVersionCode = 10 + extVersionCode = 11 } apply from: "$rootDir/common.gradle" diff --git a/src/en/readcomiconline/src/eu/kanade/tachiyomi/extension/en/readcomiconline/Readcomiconline.kt b/src/en/readcomiconline/src/eu/kanade/tachiyomi/extension/en/readcomiconline/Readcomiconline.kt index e2fbdc757..d89298ba5 100644 --- a/src/en/readcomiconline/src/eu/kanade/tachiyomi/extension/en/readcomiconline/Readcomiconline.kt +++ b/src/en/readcomiconline/src/eu/kanade/tachiyomi/extension/en/readcomiconline/Readcomiconline.kt @@ -43,7 +43,7 @@ class Readcomiconline : ConfigurableSource, ParsedHttpSource() { Injekt.get().getSharedPreferences("source_$id", 0x0000) } - override fun popularMangaSelector() = "table.listing tr:has(a) td:nth-child(1) a" + override fun popularMangaSelector() = ".list-comic > .item > a:first-child" override fun latestUpdatesSelector() = popularMangaSelector() @@ -57,8 +57,9 @@ class Readcomiconline : ConfigurableSource, ParsedHttpSource() { override fun popularMangaFromElement(element: Element): SManga { return SManga.create().apply { - setUrlWithoutDomain(element.attr("href")) + setUrlWithoutDomain(element.attr("abs:href")) title = element.text() + thumbnail_url = element.selectFirst("img")!!.attr("abs:src") } }