From 5fabca41a9192ab736aed6f548216d297a81e6e7 Mon Sep 17 00:00:00 2001 From: Naji Astier Date: Mon, 20 Nov 2017 13:44:31 +0100 Subject: [PATCH] Fix crash when downloading manga from Readmangatoday (#129) * Fix crash when downloading manga from Readmangatoday Close #128 * Bump version --- src/en/readmangatoday/build.gradle | 4 ++-- .../tachiyomi/extension/en/readmangatoday/Readmangatoday.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/en/readmangatoday/build.gradle b/src/en/readmangatoday/build.gradle index 0dbd2242b..e13f00cf7 100644 --- a/src/en/readmangatoday/build.gradle +++ b/src/en/readmangatoday/build.gradle @@ -5,8 +5,8 @@ ext { appName = 'Tachiyomi: ReadMangaToday' pkgNameSuffix = "en.readmangatoday" extClass = '.Readmangatoday' - extVersionCode = 1 - extVersionSuffix = 1 + extVersionCode = 2 + extVersionSuffix = 2 libVersion = '1.0' } diff --git a/src/en/readmangatoday/src/eu/kanade/tachiyomi/extension/en/readmangatoday/Readmangatoday.kt b/src/en/readmangatoday/src/eu/kanade/tachiyomi/extension/en/readmangatoday/Readmangatoday.kt index f30e9b3dd..7309174e6 100644 --- a/src/en/readmangatoday/src/eu/kanade/tachiyomi/extension/en/readmangatoday/Readmangatoday.kt +++ b/src/en/readmangatoday/src/eu/kanade/tachiyomi/extension/en/readmangatoday/Readmangatoday.kt @@ -161,7 +161,7 @@ class Readmangatoday : ParsedHttpSource() { return pages } - override fun imageUrlParse(document: Document) = document.select("img.img-responsive-2").first().attr("src") + override fun imageUrlParse(document: Document) = document.select("#chapter_img").first().attr("src") private class Status : Filter.TriState("Completed") private class Genre(name: String, val id: Int) : Filter.TriState(name)