Skip to content

Commit

Permalink
fix(youtube): cache_discovery issue (googleapis/google-api-python-cli…
Browse files Browse the repository at this point in the history
…ent#325)

Signed-off-by: hldh214 <[email protected]>
  • Loading branch information
hldh214 committed Jun 27, 2022
1 parent 679cab7 commit e51e9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recorder/destination/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, config):
pickle.dump(credentials, token)

self.youtube = googleapiclient.discovery.build(
api_service_name, api_version, credentials=credentials
api_service_name, api_version, credentials=credentials, cache_discovery=False
)

def upload(self, video_path, title, description='', chunk_size=googleapiclient.http.DEFAULT_CHUNK_SIZE):
Expand Down

0 comments on commit e51e9ab

Please sign in to comment.