diff --git a/src/en/vyvymanga/CHANGELOG.md b/src/en/vyvymanga/CHANGELOG.md new file mode 100644 index 000000000..e32f00950 --- /dev/null +++ b/src/en/vyvymanga/CHANGELOG.md @@ -0,0 +1,12 @@ +# 1.3.2 + +### Fix + + * Proper pagination + * Update chapter name selector + +# 1.3.1 + +### Features + +* First version diff --git a/src/en/vyvymanga/build.gradle b/src/en/vyvymanga/build.gradle index 4a39d90af..5500f7e35 100644 --- a/src/en/vyvymanga/build.gradle +++ b/src/en/vyvymanga/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'VyvyManga' pkgNameSuffix = 'en.vyvymanga' extClass = '.VyvyManga' - extVersionCode = 1 + extVersionCode = 2 } apply from: "$rootDir/common.gradle" diff --git a/src/en/vyvymanga/src/eu/kanade/tachiyomi/extension/en/vyvymanga/VyvyManga.kt b/src/en/vyvymanga/src/eu/kanade/tachiyomi/extension/en/vyvymanga/VyvyManga.kt index 536cefb57..68eea5278 100644 --- a/src/en/vyvymanga/src/eu/kanade/tachiyomi/extension/en/vyvymanga/VyvyManga.kt +++ b/src/en/vyvymanga/src/eu/kanade/tachiyomi/extension/en/vyvymanga/VyvyManga.kt @@ -28,7 +28,7 @@ class VyvyManga : ParsedHttpSource() { // Popular override fun popularMangaRequest(page: Int): Request = - GET("$baseUrl/search", headers) + GET("$baseUrl/search" + if (page != 1) "?page=$page" else "", headers) override fun popularMangaSelector(): String = searchMangaSelector() @@ -62,7 +62,7 @@ class VyvyManga : ParsedHttpSource() { // Latest override fun latestUpdatesRequest(page: Int): Request = - GET("$baseUrl/search?q=&completed=&sort=updated_at", headers) + GET("$baseUrl/search?sort=updated_at" + if (page != 1) "&page=$page" else "", headers) override fun latestUpdatesSelector(): String = searchMangaSelector() @@ -94,7 +94,7 @@ class VyvyManga : ParsedHttpSource() { override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply { url = element.absUrl("href") - name = element.ownText() + name = element.selectFirst("span").text() date_upload = parseChapterDate(element.selectFirst("> p")?.text()) }