Madara Updates (#2332)
Add MangaBob Fix EarlyManga Update APC UserAgent
This commit is contained in:
parent
55bd6bf3a2
commit
d4986b08f5
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: Madara (multiple sources)'
|
||||
pkgNameSuffix = "all.madara"
|
||||
extClass = '.MadaraFactory'
|
||||
extVersionCode = 57
|
||||
extVersionCode = 58
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -74,7 +74,8 @@ class MadaraFactory : SourceFactory {
|
|||
MangaAction(),
|
||||
NijiTranslations(),
|
||||
IchirinNoHanaYuri(),
|
||||
LilyManga()
|
||||
LilyManga(),
|
||||
MangaBob()
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -221,7 +222,7 @@ class GetManhwa : Madara("GetManhwa", "https://getmanhwa.co", "en")
|
|||
|
||||
class AllPornComic : Madara("AllPornComic", "https://allporncomic.com", "en") {
|
||||
override val client: OkHttpClient = network.client
|
||||
private val userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36"
|
||||
private val userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36"
|
||||
override fun headersBuilder(): Headers.Builder = Headers.Builder()
|
||||
.add("User-Agent", userAgent)
|
||||
.add("Referer", "$baseUrl/manga/?m_orderby=views")
|
||||
|
@ -441,7 +442,11 @@ class Manhuasnet : Madara("Manhuas.net", "https://manhuas.net", "en")
|
|||
|
||||
class MangaLaw : Madara("MangaLaw", "https://mangalaw.com", "ja", SimpleDateFormat("MM/dd/yyyy", Locale.US))
|
||||
|
||||
class EarlyManga : Madara("EarlyManga", "https://earlymanga.website", "en")
|
||||
class EarlyManga : Madara("EarlyManga", "https://earlymanga.website", "en"){
|
||||
override fun headersBuilder(): Headers.Builder {
|
||||
return super.headersBuilder().add("Referer","$baseUrl/manga/")
|
||||
}
|
||||
}
|
||||
|
||||
class MangaTX : Madara("MangaTX", "https://mangatx.com", "en")
|
||||
|
||||
|
@ -457,3 +462,5 @@ class IchirinNoHanaYuri : Madara("Ichirin No Hana Yuri", "https://ichirinnohanay
|
|||
|
||||
class LilyManga: Madara("Lily Manga","https://lilymanga.com","en",SimpleDateFormat("yyyy-MM-dd", Locale.US))
|
||||
|
||||
class MangaBob: Madara("MangaBob","https://mangabob.com","en")
|
||||
|
||||
|
|
Loading…
Reference in New Issue