MadTheme: remove custom User-Agent (#10697)

This commit is contained in:
Vetle Ledaal 2022-02-04 15:41:48 +00:00 committed by GitHub
parent 77c3906e2c
commit acc06d0133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -34,7 +34,6 @@ abstract class MadTheme(
override fun headersBuilder() = Headers.Builder().apply {
add("Referer", "$baseUrl/")
add("User-Agent", "Tachiyomi " + System.getProperty("http.agent"))
}
private val json: Json by injectLazy()

View File

@ -9,7 +9,7 @@ class MadThemeGenerator : ThemeSourceGenerator {
override val themeClass = "MadTheme"
override val baseVersionCode: Int = 1
override val baseVersionCode: Int = 2
override val sources = listOf(
SingleLang("BeeHentai", "https://beehentai.com", "en", isNsfw = true),