site/vi: Update sources domain + Favicons
This commit is contained in:
@@ -25,6 +25,18 @@ internal abstract class OtakuSanctuaryParser(
|
|||||||
keys.add(userAgentKey)
|
keys.add(userAgentKey)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override suspend fun getFavicons(): Favicons {
|
||||||
|
return Favicons(
|
||||||
|
listOf(
|
||||||
|
Favicon(
|
||||||
|
"https://raw.githubusercontent.com/dragonx943/listcaidaubuoi/refs/heads/main/logo_square.png",
|
||||||
|
200,
|
||||||
|
null),
|
||||||
|
),
|
||||||
|
domain,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
override val availableSortOrders: Set<SortOrder> = EnumSet.of(
|
override val availableSortOrders: Set<SortOrder> = EnumSet.of(
|
||||||
SortOrder.UPDATED,
|
SortOrder.UPDATED,
|
||||||
SortOrder.NEWEST,
|
SortOrder.NEWEST,
|
||||||
|
|||||||
@@ -24,6 +24,18 @@ internal class BlogTruyenParser(context: MangaLoaderContext) :
|
|||||||
|
|
||||||
override val userAgentKey = ConfigKey.UserAgent(UserAgents.CHROME_DESKTOP)
|
override val userAgentKey = ConfigKey.UserAgent(UserAgents.CHROME_DESKTOP)
|
||||||
|
|
||||||
|
override suspend fun getFavicons(): Favicons {
|
||||||
|
return Favicons(
|
||||||
|
listOf(
|
||||||
|
Favicon(
|
||||||
|
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQxz-0zH1Hyf0IHExw4Cj2skdI9kvEfeo-5aGQAxWoRhaZDKAZ5xfUZrv-Kn8BvQBbQ5ig&usqp=CAU",
|
||||||
|
225,
|
||||||
|
null),
|
||||||
|
),
|
||||||
|
domain,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
override fun onCreateConfig(keys: MutableCollection<ConfigKey<*>>) {
|
override fun onCreateConfig(keys: MutableCollection<ConfigKey<*>>) {
|
||||||
super.onCreateConfig(keys)
|
super.onCreateConfig(keys)
|
||||||
keys.add(userAgentKey)
|
keys.add(userAgentKey)
|
||||||
|
|||||||
@@ -32,6 +32,18 @@ internal class BlogTruyenVN(context: MangaLoaderContext) :
|
|||||||
keys.add(userAgentKey)
|
keys.add(userAgentKey)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override suspend fun getFavicons(): Favicons {
|
||||||
|
return Favicons(
|
||||||
|
listOf(
|
||||||
|
Favicon(
|
||||||
|
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT1MKIvvFICwuLFZsQTCo2rX-oHRHHn3b48Dw&s",
|
||||||
|
225,
|
||||||
|
null),
|
||||||
|
),
|
||||||
|
domain,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
override val availableSortOrders: Set<SortOrder>
|
override val availableSortOrders: Set<SortOrder>
|
||||||
get() = EnumSet.of(SortOrder.UPDATED)
|
get() = EnumSet.of(SortOrder.UPDATED)
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,18 @@ internal class HentaiVNParser(context: MangaLoaderContext) : AbstractMangaParser
|
|||||||
|
|
||||||
override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain("hentaihvn.tv")
|
override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain("hentaihvn.tv")
|
||||||
|
|
||||||
|
override suspend fun getFavicons(): Favicons {
|
||||||
|
return Favicons(
|
||||||
|
listOf(
|
||||||
|
Favicon(
|
||||||
|
"https://raw.githubusercontent.com/dragonx943/listcaidaubuoi/refs/heads/main/hentaivn.png",
|
||||||
|
512,
|
||||||
|
null),
|
||||||
|
),
|
||||||
|
domain,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
override fun onCreateConfig(keys: MutableCollection<ConfigKey<*>>) {
|
override fun onCreateConfig(keys: MutableCollection<ConfigKey<*>>) {
|
||||||
super.onCreateConfig(keys)
|
super.onCreateConfig(keys)
|
||||||
keys.add(userAgentKey)
|
keys.add(userAgentKey)
|
||||||
|
|||||||
@@ -22,6 +22,18 @@ internal class YurinekoParser(context: MangaLoaderContext) :
|
|||||||
override val configKeyDomain: ConfigKey.Domain
|
override val configKeyDomain: ConfigKey.Domain
|
||||||
get() = ConfigKey.Domain("yurineko.site")
|
get() = ConfigKey.Domain("yurineko.site")
|
||||||
|
|
||||||
|
override suspend fun getFavicons(): Favicons {
|
||||||
|
return Favicons(
|
||||||
|
listOf(
|
||||||
|
Favicon(
|
||||||
|
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRfUxNlUMOVvHwG0-uNB-Nm72qYvgRKB7L08A&s",
|
||||||
|
224,
|
||||||
|
null),
|
||||||
|
),
|
||||||
|
domain,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
override fun onCreateConfig(keys: MutableCollection<ConfigKey<*>>) {
|
override fun onCreateConfig(keys: MutableCollection<ConfigKey<*>>) {
|
||||||
super.onCreateConfig(keys)
|
super.onCreateConfig(keys)
|
||||||
keys.add(userAgentKey)
|
keys.add(userAgentKey)
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ internal class MeHentaiVN(context: MangaLoaderContext) :
|
|||||||
override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain(
|
override val configKeyDomain: ConfigKey.Domain = ConfigKey.Domain(
|
||||||
"www.mehentaivn.xyz",
|
"www.mehentaivn.xyz",
|
||||||
"www.hentaivnx.autos",
|
"www.hentaivnx.autos",
|
||||||
"www.hentaivnx.com"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
override fun getRequestHeaders() = super.getRequestHeaders().newBuilder()
|
override fun getRequestHeaders() = super.getRequestHeaders().newBuilder()
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import java.util.EnumSet
|
|||||||
|
|
||||||
@MangaSourceParser("NETTRUYEN1975", "NetTruyen1975", "vi")
|
@MangaSourceParser("NETTRUYEN1975", "NetTruyen1975", "vi")
|
||||||
internal class NetTruyen1975(context: MangaLoaderContext) :
|
internal class NetTruyen1975(context: MangaLoaderContext) :
|
||||||
WpComicsParser(context, MangaParserSource.NETTRUYEN1975, "nettruyen1905.com", 20) {
|
WpComicsParser(context, MangaParserSource.NETTRUYEN1975, GLOBAL_NETTRUYEN_DOMAIN, 20) {
|
||||||
|
|
||||||
override val listUrl = "/tim-kiem-nang-cao"
|
override val listUrl = "/tim-kiem-nang-cao"
|
||||||
|
|
||||||
@@ -161,4 +161,4 @@ internal class NetTruyen1975(context: MangaLoaderContext) :
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}.getOrNull()
|
}.getOrNull()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user