Update default headers

This commit is contained in:
Vitiko 2023-06-24 03:08:29 -04:00
parent b89ba3be3d
commit ce35c4d9ba

View File

@ -32,8 +32,11 @@ class Client:
{ {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0",
"X-App-Id": self.id, "X-App-Id": self.id,
"Content-Type": "application/json;charset=UTF-8"
} }
) )
logger.info(f"{YELLOW}{self.session.headers}")
self.base = "https://www.qobuz.com/api.json/0.2/" self.base = "https://www.qobuz.com/api.json/0.2/"
self.sec = None self.sec = None
self.auth(email, pwd) self.auth(email, pwd)