Add accept-language as default

This commit is contained in:
yasirarism 2023-08-27 13:13:57 +07:00 committed by GitHub
parent 3c94692744
commit a2bce96e36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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),
)