質問編集履歴
1
APIキー書きっぱなしでした。
title
CHANGED
File without changes
|
body
CHANGED
@@ -50,7 +50,7 @@
|
|
50
50
|
f = "./test_client.json"
|
51
51
|
scope = "https://www.googleapis.com/auth/youtube.force-ssl"
|
52
52
|
flow = client.flow_from_clientsecrets(f, scope)
|
53
|
-
flow.user_agent = "
|
53
|
+
flow.user_agent = "APIキー"
|
54
54
|
credentials = tools.run_flow(flow, Storage(credentials_path))
|
55
55
|
|
56
56
|
http = credentials.authorize(httplib2.Http())
|