Add Neox Scanlator and Manga Lord (#2499)
Add Neox Scanlator and Manga Lord
This commit is contained in:
parent
85bfd0da30
commit
c8f3eea405
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: Madara (multiple sources)'
|
||||
pkgNameSuffix = "all.madara"
|
||||
extClass = '.MadaraFactory'
|
||||
extVersionCode = 61
|
||||
extVersionCode = 62
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -81,7 +81,9 @@ class MadaraFactory : SourceFactory {
|
|||
MangaKiss(),
|
||||
MangaDods(),
|
||||
MangaWOW(),
|
||||
MangaStream()
|
||||
MangaStream(),
|
||||
NeoxScanlator(),
|
||||
MangaLord()
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -489,3 +491,18 @@ class MangaWOW: Madara("MangaWOW", "https://mangawow.com", "tr")
|
|||
|
||||
class MangaStream: Madara("MangaStream", "https://www.mangastream.cc", "en")
|
||||
|
||||
class NeoxScanlator : Madara("Neox Scanlator", "https://neoxscan.com/newsite", "pt-BR", SimpleDateFormat("dd 'de' MMM 'de' yyyy", Locale("pt", "BR"))) {
|
||||
override fun headersBuilder(): Headers.Builder = Headers.Builder()
|
||||
.add("User-Agent", USER_AGENT)
|
||||
.add("Referer", baseUrl)
|
||||
.add("Origin", baseUrl)
|
||||
|
||||
// Only status and order by filter work.
|
||||
override fun getFilterList(): FilterList = FilterList(super.getFilterList().slice(3 .. 4))
|
||||
|
||||
companion object {
|
||||
private const val USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36"
|
||||
}
|
||||
}
|
||||
|
||||
class MangaLord : Madara("Manga Lord", "https://mangalord.com", "en")
|
||||
|
|
Loading…
Reference in New Issue