Set cache_discovery=False to get rid of that console warning.
This commit is contained in:
parent
17cd98fa50
commit
720db06d4c
1 changed files with 1 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue