MadTheme: remove custom User-Agent (#10697)
This commit is contained in:
parent
77c3906e2c
commit
acc06d0133
|
@ -34,7 +34,6 @@ abstract class MadTheme(
|
||||||
|
|
||||||
override fun headersBuilder() = Headers.Builder().apply {
|
override fun headersBuilder() = Headers.Builder().apply {
|
||||||
add("Referer", "$baseUrl/")
|
add("Referer", "$baseUrl/")
|
||||||
add("User-Agent", "Tachiyomi " + System.getProperty("http.agent"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private val json: Json by injectLazy()
|
private val json: Json by injectLazy()
|
||||||
|
|
|
@ -9,7 +9,7 @@ class MadThemeGenerator : ThemeSourceGenerator {
|
||||||
|
|
||||||
override val themeClass = "MadTheme"
|
override val themeClass = "MadTheme"
|
||||||
|
|
||||||
override val baseVersionCode: Int = 1
|
override val baseVersionCode: Int = 2
|
||||||
|
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang("BeeHentai", "https://beehentai.com", "en", isNsfw = true),
|
SingleLang("BeeHentai", "https://beehentai.com", "en", isNsfw = true),
|
||||||
|
|
Loading…
Reference in New Issue