mangakiss.org site no longer exist (#4214)
* mangakiss.org site no longer exist * Remove Knight no Scanlation, AhStudios, GetManhwa * comments Co-authored-by: snakedoc83 <mikepeterson83@gmail.com>
This commit is contained in:
parent
b84891131c
commit
ab9aa6c218
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'Madara (multiple sources)'
|
extName = 'Madara (multiple sources)'
|
||||||
pkgNameSuffix = "all.madara"
|
pkgNameSuffix = "all.madara"
|
||||||
extClass = '.MadaraFactory'
|
extClass = '.MadaraFactory'
|
||||||
extVersionCode = 130
|
extVersionCode = 131
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
containsNsfw = true
|
containsNsfw = true
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,6 @@ import android.annotation.SuppressLint
|
||||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||||
import eu.kanade.tachiyomi.network.GET
|
import eu.kanade.tachiyomi.network.GET
|
||||||
import eu.kanade.tachiyomi.network.POST
|
import eu.kanade.tachiyomi.network.POST
|
||||||
import eu.kanade.tachiyomi.network.asObservableSuccess
|
|
||||||
import eu.kanade.tachiyomi.source.Source
|
import eu.kanade.tachiyomi.source.Source
|
||||||
import eu.kanade.tachiyomi.source.SourceFactory
|
import eu.kanade.tachiyomi.source.SourceFactory
|
||||||
import eu.kanade.tachiyomi.source.model.Filter
|
import eu.kanade.tachiyomi.source.model.Filter
|
||||||
|
@ -13,8 +12,6 @@ import eu.kanade.tachiyomi.source.model.Page
|
||||||
import eu.kanade.tachiyomi.source.model.SChapter
|
import eu.kanade.tachiyomi.source.model.SChapter
|
||||||
import eu.kanade.tachiyomi.source.model.SManga
|
import eu.kanade.tachiyomi.source.model.SManga
|
||||||
import eu.kanade.tachiyomi.util.asJsoup
|
import eu.kanade.tachiyomi.util.asJsoup
|
||||||
import java.text.SimpleDateFormat
|
|
||||||
import java.util.Locale
|
|
||||||
import okhttp3.CacheControl
|
import okhttp3.CacheControl
|
||||||
import okhttp3.FormBody
|
import okhttp3.FormBody
|
||||||
import okhttp3.Headers
|
import okhttp3.Headers
|
||||||
|
@ -24,13 +21,13 @@ import okhttp3.Request
|
||||||
import okhttp3.Response
|
import okhttp3.Response
|
||||||
import org.jsoup.nodes.Document
|
import org.jsoup.nodes.Document
|
||||||
import org.jsoup.nodes.Element
|
import org.jsoup.nodes.Element
|
||||||
import rx.Observable
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
class MadaraFactory : SourceFactory {
|
class MadaraFactory : SourceFactory {
|
||||||
override fun createSources(): List<Source> = listOf(
|
override fun createSources(): List<Source> = listOf(
|
||||||
ATMSubs(),
|
ATMSubs(),
|
||||||
AdonisFansub(),
|
AdonisFansub(),
|
||||||
AhStudios(),
|
|
||||||
AkuManga(),
|
AkuManga(),
|
||||||
AllPornComic(),
|
AllPornComic(),
|
||||||
AoCTranslations(),
|
AoCTranslations(),
|
||||||
|
@ -60,7 +57,6 @@ class MadaraFactory : SourceFactory {
|
||||||
FriendlyTranslations(),
|
FriendlyTranslations(),
|
||||||
FunList(),
|
FunList(),
|
||||||
FurioScans(),
|
FurioScans(),
|
||||||
GetManhwa(),
|
|
||||||
GoldenManga(),
|
GoldenManga(),
|
||||||
GuncelManga(),
|
GuncelManga(),
|
||||||
HeroManhua(),
|
HeroManhua(),
|
||||||
|
@ -74,7 +70,6 @@ class MadaraFactory : SourceFactory {
|
||||||
KingzManga(),
|
KingzManga(),
|
||||||
KlanKomik(),
|
KlanKomik(),
|
||||||
KlikManga(),
|
KlikManga(),
|
||||||
KnightNoScanlation(),
|
|
||||||
KomikGo(),
|
KomikGo(),
|
||||||
LilyManga(),
|
LilyManga(),
|
||||||
LuxyScans(),
|
LuxyScans(),
|
||||||
|
@ -86,7 +81,6 @@ class MadaraFactory : SourceFactory {
|
||||||
MangaBob(),
|
MangaBob(),
|
||||||
MangaDods(),
|
MangaDods(),
|
||||||
MangaHentai(),
|
MangaHentai(),
|
||||||
MangaKiss(),
|
|
||||||
MangaKomi(),
|
MangaKomi(),
|
||||||
MangaLord(),
|
MangaLord(),
|
||||||
MangaPhoenix(),
|
MangaPhoenix(),
|
||||||
|
@ -169,11 +163,11 @@ class MadaraFactory : SourceFactory {
|
||||||
// MangaGecesi(),
|
// MangaGecesi(),
|
||||||
// MangaWOW(),
|
// MangaWOW(),
|
||||||
// MangaStein(),
|
// MangaStein(),
|
||||||
|
// KnightNoScanlation(),
|
||||||
|
// AhStudios(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
class AhStudios : Madara("AhStudios", "https://ahstudios.net", "es")
|
|
||||||
|
|
||||||
class AsuraScans : Madara("AsuraScans", "https://asurascans.com", "en")
|
class AsuraScans : Madara("AsuraScans", "https://asurascans.com", "en")
|
||||||
|
|
||||||
class TritiniaScans : Madara("TritiniaScans", "https://tritiniaman.ga", "en") {
|
class TritiniaScans : Madara("TritiniaScans", "https://tritiniaman.ga", "en") {
|
||||||
|
@ -327,25 +321,6 @@ class AdonisFansub : Madara("Adonis Fansub", "https://manga.adonisfansub.com", "
|
||||||
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/manga/page/$page/?m_orderby=latest", headers)
|
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/manga/page/$page/?m_orderby=latest", headers)
|
||||||
}
|
}
|
||||||
|
|
||||||
class GetManhwa : Madara("GetManhwa", "https://getmanhwa.co", "en") {
|
|
||||||
override fun fetchMangaDetails(manga: SManga): Observable<SManga> {
|
|
||||||
return client.newCall(mangaDetailsRequest(manga))
|
|
||||||
.asObservableSuccess()
|
|
||||||
.map { response ->
|
|
||||||
mangaDetailsParse(response.asJsoup(), manga).apply { initialized = true }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private fun mangaDetailsParse(document: Document, manga: SManga): SManga {
|
|
||||||
return SManga.create().apply {
|
|
||||||
if (manga.thumbnail_url.isNullOrEmpty()) thumbnail_url = searchMangaParse(client.newCall(searchMangaRequest(1, manga.title, FilterList())).execute())
|
|
||||||
.mangas.firstOrNull()?.thumbnail_url
|
|
||||||
author = document.select("div.summary-heading-creator a").joinToString { it.text() }
|
|
||||||
genre = document.select("div.genres-content a").joinToString { it.text() }
|
|
||||||
description = document.select("div.description-summary p").joinToString("\n") { it.text() }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nsfw
|
@Nsfw
|
||||||
class AllPornComic : Madara("AllPornComic", "https://allporncomic.com", "en") {
|
class AllPornComic : Madara("AllPornComic", "https://allporncomic.com", "en") {
|
||||||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/manga/page/$page/?m_orderby=views", headers)
|
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/manga/page/$page/?m_orderby=views", headers)
|
||||||
|
@ -788,10 +763,6 @@ class DisasterScans : Madara("Disaster Scans", "https://disasterscans.com", "en"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class MangaKiss : Madara("MangaKiss", "https://mangakiss.org", "en", SimpleDateFormat("dd/MM/yyyy", Locale.US)) {
|
|
||||||
override fun headersBuilder(): Headers.Builder = super.headersBuilder().add("Referer", baseUrl)
|
|
||||||
}
|
|
||||||
|
|
||||||
class MangaDods : Madara("MangaDods", "https://www.mangadods.com", "en", SimpleDateFormat("yyyy-MM-dd", Locale.US))
|
class MangaDods : Madara("MangaDods", "https://www.mangadods.com", "en", SimpleDateFormat("yyyy-MM-dd", Locale.US))
|
||||||
|
|
||||||
class MangaStream : Madara("MangaStream", "https://www.mangastream.cc", "en") {
|
class MangaStream : Madara("MangaStream", "https://www.mangastream.cc", "en") {
|
||||||
|
@ -1045,8 +1016,6 @@ class TurkceManga : Madara("Türkçe Manga", "https://turkcemanga.com", "tr") {
|
||||||
|
|
||||||
class EinherjarScan : Madara("Einherjar Scan", "https://einherjarscans.space", "en")
|
class EinherjarScan : Madara("Einherjar Scan", "https://einherjarscans.space", "en")
|
||||||
|
|
||||||
class KnightNoScanlation : Madara("Knight no Scanlation", "https://knightnoscanlation.com", "es")
|
|
||||||
|
|
||||||
class DoujinYosh : Madara("DoujinYosh", "https://doujinyosh.work", "id") {
|
class DoujinYosh : Madara("DoujinYosh", "https://doujinyosh.work", "id") {
|
||||||
// source issue, doing this limits results to one page but not doing it returns no results at all
|
// source issue, doing this limits results to one page but not doing it returns no results at all
|
||||||
override fun searchPage(page: Int) = ""
|
override fun searchPage(page: Int) = ""
|
||||||
|
|
Loading…
Reference in New Issue