Skip to content

Commit 3219c18

Browse files
authored
Store app id and app secret (#55)
1 parent b8aadd6 commit 3219c18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/youtubeaio/youtube.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ def __init__(
5757
"""Initialize YouTube object."""
5858
self.session = session
5959
self.session_timeout = session_timeout
60+
self.app_id = app_id
61+
self.app_secret = app_secret
6062
if auto_refresh_auth is None:
6163
self.auto_refresh_auth = app_id is not None and app_secret is not None
6264
else:

0 commit comments

Comments
 (0)