FMReader - RawLH fix (#2162)

FMReader - RawLH fix
This commit is contained in:
Mike 2020-01-31 21:49:32 -05:00 committed by GitHub
parent 76041b42f2
commit c86e12aadd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: FMReader (multiple aggregators)' appName = 'Tachiyomi: FMReader (multiple aggregators)'
pkgNameSuffix = 'all.fmreader' pkgNameSuffix = 'all.fmreader'
extClass = '.FMReaderFactory' extClass = '.FMReaderFactory'
extVersionCode = 5 extVersionCode = 6
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -16,6 +16,7 @@ import okhttp3.Interceptor
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import okhttp3.Request import okhttp3.Request
import okhttp3.Response import okhttp3.Response
import okhttp3.Headers
import org.jsoup.nodes.Document import org.jsoup.nodes.Document
import org.jsoup.nodes.Element import org.jsoup.nodes.Element
import rx.Observable import rx.Observable
@ -31,7 +32,6 @@ class FMReaderFactory : SourceFactory {
YoloManga(), YoloManga(),
AiLoveManga(), AiLoveManga(),
ReadComicOnlineOrg(), ReadComicOnlineOrg(),
MangaWeek(),
HanaScan(), HanaScan(),
RawLH(), RawLH(),
Manhwa18(), Manhwa18(),
@ -118,13 +118,13 @@ class ReadComicOnlineOrg : FMReader("ReadComicOnline.org", "https://readcomiconl
override fun getGenreList() = getComicsGenreList() override fun getGenreList() = getComicsGenreList()
} }
class MangaWeek : FMReader("MangaWeek", "https://mangaweek.com", "en")
class HanaScan : FMReader("HanaScan (RawQQ)", "http://rawqq.com", "ja") { class HanaScan : FMReader("HanaScan (RawQQ)", "http://rawqq.com", "ja") {
override fun popularMangaNextPageSelector() = "div.col-md-8 button" 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 popularMangaNextPageSelector() = "div.col-md-8 button"
override fun headersBuilder(): Headers.Builder = super.headersBuilder().add("Referer", baseUrl)
} }
class Manhwa18 : FMReader("Manhwa18", "https://manhwa18.com", "en") { class Manhwa18 : FMReader("Manhwa18", "https://manhwa18.com", "en") {