fix howlongtobeat POST imitator: add Referer header
This commit is contained in:
parent
14de095edc
commit
1eef5a6f56
|
@ -39,7 +39,10 @@ class HLTBClientImpl(val context: Context) : HLTBClient {
|
|||
}
|
||||
|
||||
override fun getHeaders(): MutableMap<String, String> {
|
||||
return hashMapOf("User-Agent" to "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:90.0) Gecko/20100101 Firefox/90.0")
|
||||
return hashMapOf(
|
||||
"User-Agent" to "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:90.0) Gecko/20100101 Firefox/90.0",
|
||||
"Referer" to "https://howlongtobeat.com/"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue