Update URL PopularManga & LatestUpdate Request HentaiCB (#15107)

This commit is contained in:
are-are-are 2023-01-26 01:46:43 +07:00 committed by GitHub
parent 3dfc9fdb29
commit b9b216e4db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -17,14 +17,14 @@ class HentaiCB : Madara("Hentai CB", "https://hentaicb.xyz", "vi", SimpleDateFor
} }
override fun popularMangaRequest(page: Int): Request { override fun popularMangaRequest(page: Int): Request {
return GET( return GET(
"$baseUrl/manga/?m_orderby=trending", "$baseUrl/manga/page/$page/?m_orderby=views",
formHeaders, formHeaders,
CacheControl.FORCE_NETWORK CacheControl.FORCE_NETWORK
) )
} }
override fun latestUpdatesRequest(page: Int): Request { override fun latestUpdatesRequest(page: Int): Request {
return GET( return GET(
"$baseUrl/manga/?m_orderby=latest", "$baseUrl/manga/page/$page/?m_orderby=latest",
formHeaders, formHeaders,
CacheControl.FORCE_NETWORK CacheControl.FORCE_NETWORK
) )

View File

@ -124,7 +124,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Hattori Manga", "https://hattorimanga.com", "tr", isNsfw = true), SingleLang("Hattori Manga", "https://hattorimanga.com", "tr", isNsfw = true),
SingleLang("Hayalistic", "https://hayalistic.com", "tr"), SingleLang("Hayalistic", "https://hayalistic.com", "tr"),
SingleLang("Hela Scan", "https://helascan.com", "pt-BR", isNsfw = true), SingleLang("Hela Scan", "https://helascan.com", "pt-BR", isNsfw = true),
SingleLang("Hentai CB", "https://hentaicb.xyz", "vi", isNsfw = true, overrideVersionCode = 2, pkgName = "hentaicube"), SingleLang("Hentai CB", "https://hentaicb.xyz", "vi", isNsfw = true, overrideVersionCode = 3, pkgName = "hentaicube"),
SingleLang("Hentai Manga", "https://hentaimanga.me", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("Hentai Manga", "https://hentaimanga.me", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("Hentai Teca", "https://hentaiteca.net", "pt-BR", isNsfw = true, overrideVersionCode = 1), SingleLang("Hentai Teca", "https://hentaiteca.net", "pt-BR", isNsfw = true, overrideVersionCode = 1),
SingleLang("Hentai20", "https://hentai20.io", "en", isNsfw = true, overrideVersionCode = 3), SingleLang("Hentai20", "https://hentai20.io", "en", isNsfw = true, overrideVersionCode = 3),