mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-21 19:11:49 +01:00
Tweak how getChapterUrl
works (#8392)
This commit is contained in:
parent
2ecbcdf4bd
commit
1a25cea0d6
@ -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 New Issue
Block a user