Added AhStudios(es) to Madara (#3604)

* Bumping up version for newly added source

* Added AhStudios(es) to Madara

* fix mangadods dates

Co-authored-by: snakedoc83 <mikepeterson83@gmail.com>
This commit is contained in:
Shashank Pujari 2020-06-24 13:28:54 +05:30 committed by GitHub
parent 9ab357103d
commit 4dd6b50de7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Madara (multiple sources)' appName = 'Tachiyomi: Madara (multiple sources)'
pkgNameSuffix = "all.madara" pkgNameSuffix = "all.madara"
extClass = '.MadaraFactory' extClass = '.MadaraFactory'
extVersionCode = 112 extVersionCode = 113
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -29,6 +29,7 @@ import rx.Observable
class MadaraFactory : SourceFactory { class MadaraFactory : SourceFactory {
override fun createSources(): List<Source> = listOf( override fun createSources(): List<Source> = listOf(
AdonisFansub(), AdonisFansub(),
AhStudios(),
AllPornComic(), AllPornComic(),
AoCTranslations(), AoCTranslations(),
AsuraScans(), AsuraScans(),
@ -154,6 +155,8 @@ class MadaraFactory : SourceFactory {
) )
} }
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 CopyPasteScan : Madara("CopyPasteScan", "https://copypastescan.xyz", "es") class CopyPasteScan : Madara("CopyPasteScan", "https://copypastescan.xyz", "es")
@ -607,7 +610,7 @@ class MangaKiss : Madara("MangaKiss", "https://mangakiss.org", "en", SimpleDateF
override fun headersBuilder(): Headers.Builder = super.headersBuilder().add("Referer", baseUrl) override fun headersBuilder(): Headers.Builder = super.headersBuilder().add("Referer", baseUrl)
} }
class MangaDods : Madara("MangaDods", "https://www.mangadods.com", "en", SimpleDateFormat("dd/MM/yyyy", 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") {
override fun getGenreList() = listOf( override fun getGenreList() = listOf(