Skip to content

Commit

Permalink
Update default headers
Browse files Browse the repository at this point in the history
  • Loading branch information
vitiko98 committed Jun 24, 2023
1 parent b89ba3b commit ce35c4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qobuz_dl/qopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ def __init__(self, email, pwd, app_id, secrets):
{
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0",
"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.sec = None
self.auth(email, pwd)
Expand Down

0 comments on commit ce35c4d

Please sign in to comment.