Skip to content

Commit

Permalink
fix requests_session documentation (closes #464)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 committed Oct 24, 2023
1 parent 437844f commit 7382f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ytmusicapi/ytmusic.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self,
s = requests.Session()
s.request = functools.partial(s.request, timeout=3)
ytm = YTMusic(session=s)
ytm = YTMusic(requests_session=s)
A falsy value disables sessions.
It is generally a good idea to keep sessions enabled for
Expand Down

0 comments on commit 7382f62

Please sign in to comment.