mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +01:00
Batoto fix. #953
This commit is contained in:
parent
bfa386acba
commit
43355970db
@ -189,7 +189,7 @@ class Batoto : ParsedHttpSource(), LoginSource {
|
||||
override fun chapterListSelector() = "tr.row.lang_English.chapter_row"
|
||||
|
||||
override fun chapterFromElement(element: Element): SChapter {
|
||||
val urlElement = element.select("a[href^=$baseUrl/reader").first()
|
||||
val urlElement = element.select("a[href*=bato.to/reader").first()
|
||||
|
||||
val chapter = SChapter.create()
|
||||
chapter.setUrlWithoutDomain(urlElement.attr("href"))
|
||||
|
Loading…
Reference in New Issue
Block a user