From c86e12aadd4771111e10478851e4116cee6342ea Mon Sep 17 00:00:00 2001 From: Mike <51273546+SnakeDoc83@users.noreply.github.com> Date: Fri, 31 Jan 2020 21:49:32 -0500 Subject: [PATCH] FMReader - RawLH fix (#2162) FMReader - RawLH fix --- src/all/fmreader/build.gradle | 2 +- .../tachiyomi/extension/all/fmreader/FMReaderFactory.kt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/all/fmreader/build.gradle b/src/all/fmreader/build.gradle index fa85abade..7b3d03bf9 100644 --- a/src/all/fmreader/build.gradle +++ b/src/all/fmreader/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: FMReader (multiple aggregators)' pkgNameSuffix = 'all.fmreader' extClass = '.FMReaderFactory' - extVersionCode = 5 + extVersionCode = 6 libVersion = '1.2' } diff --git a/src/all/fmreader/src/eu/kanade/tachiyomi/extension/all/fmreader/FMReaderFactory.kt b/src/all/fmreader/src/eu/kanade/tachiyomi/extension/all/fmreader/FMReaderFactory.kt index 287f951b7..4b8d0e3f6 100644 --- a/src/all/fmreader/src/eu/kanade/tachiyomi/extension/all/fmreader/FMReaderFactory.kt +++ b/src/all/fmreader/src/eu/kanade/tachiyomi/extension/all/fmreader/FMReaderFactory.kt @@ -16,6 +16,7 @@ import okhttp3.Interceptor import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.Response +import okhttp3.Headers import org.jsoup.nodes.Document import org.jsoup.nodes.Element import rx.Observable @@ -31,7 +32,6 @@ class FMReaderFactory : SourceFactory { YoloManga(), AiLoveManga(), ReadComicOnlineOrg(), - MangaWeek(), HanaScan(), RawLH(), Manhwa18(), @@ -118,13 +118,13 @@ class ReadComicOnlineOrg : FMReader("ReadComicOnline.org", "https://readcomiconl override fun getGenreList() = getComicsGenreList() } -class MangaWeek : FMReader("MangaWeek", "https://mangaweek.com", "en") class HanaScan : FMReader("HanaScan (RawQQ)", "http://rawqq.com", "ja") { override fun popularMangaNextPageSelector() = "div.col-md-8 button" } -class RawLH : FMReader("RawLH", "https://lhscan.net", "ja") { +class RawLH : FMReader("RawLH", "https://loveheaven.net", "ja") { override fun popularMangaNextPageSelector() = "div.col-md-8 button" + override fun headersBuilder(): Headers.Builder = super.headersBuilder().add("Referer", baseUrl) } class Manhwa18 : FMReader("Manhwa18", "https://manhwa18.com", "en") {