Account for custom delegated image requests, fixes Hitomi pages

This commit is contained in:
Jobobby04
2020-08-11 15:20:11 -04:00
parent 69f4d1fd46
commit 51d0a67908
2 changed files with 23 additions and 0 deletions
@@ -200,6 +200,13 @@ class EnhancedHttpSource(
*/
override fun fetchImageUrl(page: Page) = source().fetchImageUrl(page)
/**
* Returns an observable with the response of the source image.
*
* @param page the page whose source image has to be downloaded.
*/
override fun fetchImage(page: Page) = source().fetchImage(page)
/**
* Called before inserting a new chapter into database. Use it if you need to override chapter
* fields, like the title or the chapter number. Do not change anything to [manga].