mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 07:31:50 +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 chapterListSelector() = "tr.row.lang_English.chapter_row"
|
||||||
|
|
||||||
override fun chapterFromElement(element: Element): SChapter {
|
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()
|
val chapter = SChapter.create()
|
||||||
chapter.setUrlWithoutDomain(urlElement.attr("href"))
|
chapter.setUrlWithoutDomain(urlElement.attr("href"))
|
||||||
|
Loading…
Reference in New Issue
Block a user