FMReader - ManhwaSmut imageRequests (#3646)
This commit is contained in:
parent
a06f195081
commit
c32548642e
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'FMReader (multiple aggregators)'
|
||||
pkgNameSuffix = 'all.fmreader'
|
||||
extClass = '.FMReaderFactory'
|
||||
extVersionCode = 18
|
||||
extVersionCode = 19
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -332,4 +332,7 @@ class EpikManga : FMReader("Epik Manga", "https://www.epikmanga.com", "tr") {
|
|||
|
||||
class ManhuaScan : FMReader("ManhuaScan", "https://manhuascan.com", "en")
|
||||
|
||||
class ManhwaSmut : FMReader("ManhwaSmut", "https://manhwasmut.com", "en")
|
||||
class ManhwaSmut : FMReader("ManhwaSmut", "https://manhwasmut.com", "en") {
|
||||
private val noReferer = headersBuilder().removeAll("Referer").build()
|
||||
override fun imageRequest(page: Page): Request = GET(page.imageUrl!!, if (page.imageUrl!!.contains("toonily")) noReferer else headers)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue