Removed sources that are down (#6664)

* Removed sites that are down

* Delete multisrc/overrides/fmreader/eighteenlhplus/src directory

* Delete multisrc/overrides/fmreader/hanascanrawqq/src directory

* Update FoolSlideGenerator.kt
This commit is contained in:
Johannes Joens 2021-04-22 18:44:49 +12:00 committed by GitHub
parent bd5f8aeb5f
commit ee098a3ea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 38 deletions

View File

@ -1,22 +0,0 @@
package eu.kanade.tachiyomi.extension.en.eighteenlhplus
import eu.kanade.tachiyomi.multisrc.fmreader.FMReader
import okhttp3.OkHttpClient
class EighteenLHPlus : FMReader("18LHPlus", "https://18lhplus.com", "en") {
override val client: OkHttpClient = super.client.newBuilder()
.addInterceptor { chain ->
val originalRequest = chain.request()
chain.proceed(originalRequest).let { response ->
if (response.code() == 403 && originalRequest.url().host().contains("mkklcdn")) {
response.close()
chain.proceed(originalRequest.newBuilder().removeHeader("Referer").addHeader("Referer", "https://manganelo.com").build())
} else {
response
}
}
}
.build()
override fun popularMangaNextPageSelector() = "div.col-lg-8 div.btn-group:first-of-type"
override fun getGenreList() = getAdultGenreList()
}

View File

@ -1,12 +0,0 @@
package eu.kanade.tachiyomi.extension.ja.hanascanrawqq
import eu.kanade.tachiyomi.multisrc.fmreader.FMReader
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.Page
import okhttp3.Request
class HanaScanRawQQ : FMReader("HanaScan (RawQQ)", "https://hanascan.com", "ja") {
override fun popularMangaNextPageSelector() = "div.col-md-8 button"
// Referer needs to be chapter URL
override fun imageRequest(page: Page): Request = GET(page.imageUrl!!, headersBuilder().set("Referer", page.url).build())
}

View File

@ -16,9 +16,7 @@ class FMReaderGenerator : ThemeSourceGenerator {
* most likely the fix is to override popularMangaNextPageSelector() */ * most likely the fix is to override popularMangaNextPageSelector() */
override val sources = listOf( override val sources = listOf(
SingleLang("18LHPlus", "https://18lhplus.com", "en", className = "EighteenLHPlus"), SingleLang("Epik Manga", "https://www.epikmanga.com", "tr"),
SingleLang("Epik Manga", "https://www.epikmanga.com", "tr"),
SingleLang("HanaScan (RawQQ)", "https://hanascan.com", "ja", className = "HanaScanRawQQ"),
SingleLang("HeroScan", "https://heroscan.com", "en"), SingleLang("HeroScan", "https://heroscan.com", "en"),
SingleLang("KissLove", "https://kissaway.net", "ja"), SingleLang("KissLove", "https://kissaway.net", "ja"),
SingleLang("LHTranslation", "https://lhtranslation.net", "en", overrideVersionCode = 1), SingleLang("LHTranslation", "https://lhtranslation.net", "en", overrideVersionCode = 1),
@ -30,6 +28,9 @@ class FMReaderGenerator : ThemeSourceGenerator {
SingleLang("RawLH", "https://lovehug.net", "ja"), SingleLang("RawLH", "https://lovehug.net", "ja"),
SingleLang("Say Truyen", "https://saytruyen.com", "vi"), SingleLang("Say Truyen", "https://saytruyen.com", "vi"),
SingleLang("KSGroupScans", "https://ksgroupscans.com", "en"), SingleLang("KSGroupScans", "https://ksgroupscans.com", "en"),
// Sites that went down
//SingleLang("18LHPlus", "https://18lhplus.com", "en", className = "EighteenLHPlus"),
//SingleLang("HanaScan (RawQQ)", "https://hanascan.com", "ja", className = "HanaScanRawQQ"),
) )
companion object { companion object {

View File

@ -16,7 +16,6 @@ class FoolSlideGenerator : ThemeSourceGenerator {
SingleLang("The Cat Scans", "https://reader2.thecatscans.com/", "en"), SingleLang("The Cat Scans", "https://reader2.thecatscans.com/", "en"),
SingleLang("Silent Sky", "https://reader.silentsky-scans.net", "en"), SingleLang("Silent Sky", "https://reader.silentsky-scans.net", "en"),
SingleLang("Death Toll Scans", "https://reader.deathtollscans.net", "en"), SingleLang("Death Toll Scans", "https://reader.deathtollscans.net", "en"),
SingleLang("One Time Scans", "https://reader.otscans.com", "en"),
SingleLang("MangaScouts", "http://onlinereader.mangascouts.org", "de"), SingleLang("MangaScouts", "http://onlinereader.mangascouts.org", "de"),
SingleLang("Lilyreader", "https://manga.smuglo.li", "en"), SingleLang("Lilyreader", "https://manga.smuglo.li", "en"),
SingleLang("Evil Flowers", "https://reader.evilflowers.com", "en"), SingleLang("Evil Flowers", "https://reader.evilflowers.com", "en"),
@ -47,6 +46,8 @@ class FoolSlideGenerator : ThemeSourceGenerator {
SingleLang("Mabushimajo", "http://mabushimajo.com", "tr"), SingleLang("Mabushimajo", "http://mabushimajo.com", "tr"),
SingleLang("Hyakuro", "https://hyakuro.com/reader", "en"), SingleLang("Hyakuro", "https://hyakuro.com/reader", "en"),
SingleLang("Le Cercle du Scan", "https://lel.lecercleduscan.com", "fr") SingleLang("Le Cercle du Scan", "https://lel.lecercleduscan.com", "fr")
//Sites that are down
//SingleLang("One Time Scans", "https://reader.otscans.com", "en"),
) )
companion object { companion object {