Fix crash when downloading manga from Readmangatoday (#129)

* Fix crash when downloading manga from Readmangatoday
Close #128

* Bump version
This commit is contained in:
Naji Astier 2017-11-20 13:44:31 +01:00 committed by inorichi
parent c6b1cfc0dc
commit 5fabca41a9
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: ReadMangaToday'
pkgNameSuffix = "en.readmangatoday"
extClass = '.Readmangatoday'
extVersionCode = 1
extVersionSuffix = 1
extVersionCode = 2
extVersionSuffix = 2
libVersion = '1.0'
}

View File

@ -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)