Source migration from RawLH to WeLoveManga (#8433)
* Source migration from RawLH to WeLoveManga * Minor url edit * Override source id * Revert pkg name change
This commit is contained in:
parent
f14d6a9170
commit
25a7f2054a
|
@ -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<Page> = base64PageListParse(document)
|
||||
// Referer needs to be chapter URL
|
||||
override fun imageRequest(page: Page): Request = GET(page.imageUrl!!, headersBuilder().set("Referer", page.url).build())
|
||||
}
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue