From a2bce96e365fd69ca8bb7c584bb68762b58a986f Mon Sep 17 00:00:00 2001 From: yasirarism <55983182+yasirarism@users.noreply.github.com> Date: Sun, 27 Aug 2023 13:13:57 +0700 Subject: [PATCH] Add accept-language as default --- misskaty/helper/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskaty/helper/http.py b/misskaty/helper/http.py index 34ceae7b..a824a53f 100644 --- a/misskaty/helper/http.py +++ b/misskaty/helper/http.py @@ -10,7 +10,7 @@ session = ClientSession() fetch = httpx.AsyncClient( http2=True, verify=False, - headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edge/107.0.1418.42"}, + headers={"Accept-Language": "id-ID", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edge/107.0.1418.42"}, timeout=httpx.Timeout(10), )