File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 2121
2222def get_authenticated_service ():
2323 flow = InstalledAppFlow .from_client_secrets_file (CLIENT_SECRETS_FILE , SCOPES )
24-
2524 credentials = flow .run_console ()
26-
2725 return build (API_SERVICE_NAME , API_VERSION , credentials = credentials )
2826
2927def channels_list_by_username (service , ** kwargs ):
@@ -40,7 +38,6 @@ def channels_list_by_username(service, **kwargs):
4038 # When running locally, disable OAuthlib's HTTPs verification. When
4139 # running in production *do not* leave this option enabled.
4240 os .environ ['OAUTHLIB_INSECURE_TRANSPORT' ] = '1'
43- #app.run('localhost', 8090, debug=True)
4441 service = get_authenticated_service ()
4542 channels_list_by_username (service ,
4643 part = 'snippet,contentDetails,statistics' ,
You can’t perform that action at this time.
0 commit comments