diff --git a/multisrc/overrides/fmreader/rawlh/src/RawLH.kt b/multisrc/overrides/fmreader/rawlh/src/WeLoveManga.kt similarity index 79% rename from multisrc/overrides/fmreader/rawlh/src/RawLH.kt rename to multisrc/overrides/fmreader/rawlh/src/WeLoveManga.kt index 495e8d055..eb81afb0f 100644 --- a/multisrc/overrides/fmreader/rawlh/src/RawLH.kt +++ b/multisrc/overrides/fmreader/rawlh/src/WeLoveManga.kt @@ -6,9 +6,12 @@ import eu.kanade.tachiyomi.source.model.Page import okhttp3.Request import org.jsoup.nodes.Document -class RawLH : FMReader("RawLH", "https://lovehug.net", "ja") { +class WeLoveManga : FMReader("WeLoveManga", "https://weloma.net", "ja") { + // Formerly "RawLH" + override val id = 7595224096258102519 + override val chapterUrlSelector = "" override fun pageListParse(document: Document): List = base64PageListParse(document) // Referer needs to be chapter URL override fun imageRequest(page: Page): Request = GET(page.imageUrl!!, headersBuilder().set("Referer", page.url).build()) -} \ No newline at end of file +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReaderGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReaderGenerator.kt index 7f32282d7..a749bab1e 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReaderGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReaderGenerator.kt @@ -22,7 +22,7 @@ class FMReaderGenerator : ThemeSourceGenerator { SingleLang("Manga-TR", "https://manga-tr.com", "tr", className = "MangaTR"), SingleLang("Manhwa18", "https://manhwa18.com", "en", isNsfw = true), MultiLang("Manhwa18.net", "https://manhwa18.net", listOf("en", "ko"), className = "Manhwa18NetFactory", isNsfw = true), - SingleLang("RawLH", "https://lovehug.net", "ja"), + SingleLang("WeLoveManga", "https://weloma.net", "ja", pkgName = "rawlh", overrideVersionCode = 1), SingleLang("Say Truyen", "https://saytruyen.net", "vi", overrideVersionCode = 1), SingleLang("KSGroupScans", "https://ksgroupscans.com", "en"), // Sites that went down