Revert "Tweak how getChapterUrl works (#8392)" (#8427)

This reverts commit 1a25cea0d665aefdc422ffe074d50c4a72fc0fe8.

(cherry picked from commit b006fe3a2246e5ceb9bc08d01971a29a678e33b6)
This commit is contained in:
stevenyomi 2022-11-03 21:23:59 +08:00 committed by Jobobby04
parent 6915c9e59d
commit e94f9b8a2a

View File

@ -409,11 +409,7 @@ abstract class HttpSource : CatalogueSource {
* @return url of the chapter
*/
open fun getChapterUrl(chapter: SChapter): String {
return if (chapter.url.startsWith("http")) {
chapter.url
} else {
baseUrl + chapter.url
}
return pageListRequest(chapter).url.toString()
}
/**