Set cache_discovery=False to get rid of that console warning.

master
voussoir 2020-08-20 13:16:55 -07:00
parent 17cd98fa50
commit 720db06d4c
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ class Video:
class Youtube:
def __init__(self, key):
self.youtube = apiclient.discovery.build(
cache_discovery=False,
developerKey=key,
serviceName='youtube',
version='v3',