Tweak how getChapterUrl
works (#8392)
This commit is contained in:
parent
2ecbcdf4bd
commit
1a25cea0d6
1 changed files with 5 additions and 1 deletions
|
@ -375,7 +375,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
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue