mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-11-22 11:05:25 +01:00
Update default headers
This commit is contained in:
parent
b89ba3be3d
commit
ce35c4d9ba
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user