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

This commit is contained in:
voussoir 2020-08-20 13:16:55 -07:00
parent 17cd98fa50
commit 720db06d4c

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',