diff --git a/gradle.properties b/gradle.properties index 62441fd3..5f3d7642 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,10 +1,12 @@ -# Following this blog: +## Following this blog: # https://proandroiddev.com/how-we-reduced-our-gradle-build-times-by-over-80-51f2b6d6b05b kotlin.code.style=official org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=4096m -XX:+UseParallelGC -org.gradle.vfs.watch=true org.gradle.configureondemand=true org.gradle.parallel=true -org.gradle.caching=true -org.gradle.configuration-cache=true -org.gradle.workers.max=5 + +## Use these flags on local machine for faster build time +# org.gradle.caching=true +# org.gradle.configuration-cache=true +# org.gradle.workers.max=5 +# org.gradle.vfs.watch=true diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/vi/DamCoNuong.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/vi/DamCoNuong.kt index 30743f9c..ef26455e 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/vi/DamCoNuong.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/vi/DamCoNuong.kt @@ -152,9 +152,8 @@ internal class DamCoNuong(context: MangaLoaderContext) : else -> MangaState.FINISHED } - val chapterListDiv = - doc.selectFirst("div#chapterList.justify-between.border-2.border-gray-100.dark\\:border-dark-blue.p-3.bg-white.dark\\:bg-fire-blue.shadow-md.rounded.dark\\:shadow-gray-900.mb-4") - ?: throw ParseException("Chapters list not found!", url) + val chapterListDiv = doc.selectFirst("ul#chapterList") + ?: throw ParseException("Chapters list not found!", url) val chapterLinks = chapterListDiv.select("a.block") val chapters = chapterLinks.mapChapters(reversed = true) { index, a ->