Tweak how getChapterUrl
works (#8392)
(cherry picked from commit 1a25cea0d665aefdc422ffe074d50c4a72fc0fe8)
This commit is contained in:
parent
55918ddb15
commit
9cc5831689
@ -409,7 +409,11 @@ abstract class HttpSource : CatalogueSource {
|
||||
* @return url of the chapter
|
||||
*/
|
||||
open fun getChapterUrl(chapter: SChapter): String {
|
||||
return pageListRequest(chapter).url.toString()
|
||||
return if (chapter.url.startsWith("http")) {
|
||||
chapter.url
|
||||
} else {
|
||||
baseUrl + chapter.url
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user