mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
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
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue