Maid Mang - better chapterListSelector (#3344)

Maid Manga - better chapterListSelector
This commit is contained in:
Mike 2020-05-28 14:28:15 -04:00 committed by GitHub
parent fbe90270fe
commit df43c023ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Maid - Manga' appName = 'Tachiyomi: Maid - Manga'
pkgNameSuffix = 'id.maidmanga' pkgNameSuffix = 'id.maidmanga'
extClass = '.MaidManga' extClass = '.MaidManga'
extVersionCode = 3 extVersionCode = 4
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -117,7 +117,8 @@ class MaidManga : ParsedHttpSource() {
return SimpleDateFormat("MMM d, yyyy", Locale("id")).parse(date).time return SimpleDateFormat("MMM d, yyyy", Locale("id")).parse(date).time
} }
override fun chapterListSelector() = "ul.series-chapterlist div.flexch a" // careful not to include download links
override fun chapterListSelector() = "ul.series-chapterlist div.flexch-infoz > a"
override fun chapterFromElement(element: Element): SChapter { override fun chapterFromElement(element: Element): SChapter {
return SChapter.create().apply { return SChapter.create().apply {