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

This reverts commit 1a25cea0d6.

(cherry picked from commit b006fe3a22)
This commit is contained in:
stevenyomi
2022-11-03 21:23:59 +08:00
committed by Jobobby04
parent 6915c9e59d
commit e94f9b8a2a
@@ -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()
}
/**