mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-20 02:05:41 -04:00
Remove print statement and urllib3 warnings
This commit is contained in:
parent
839e7ef27c
commit
8066db1862
2 changed files with 3 additions and 1 deletions
|
@ -150,6 +150,9 @@ class QobuzClient(ClientInterface):
|
|||
self.secrets = kwargs["secrets"]
|
||||
|
||||
self.session = requests.Session()
|
||||
# for multithreading
|
||||
adapter = requests.adapters.HTTPAdapter(pool_connections=100, pool_maxsize=100)
|
||||
self.session.mount('https://', adapter)
|
||||
self.session.headers.update(
|
||||
{
|
||||
"User-Agent": AGENT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue