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:
|
class Youtube:
|
||||||
def __init__(self, key):
|
def __init__(self, key):
|
||||||
self.youtube = apiclient.discovery.build(
|
self.youtube = apiclient.discovery.build(
|
||||||
|
cache_discovery=False,
|
||||||
developerKey=key,
|
developerKey=key,
|
||||||
serviceName='youtube',
|
serviceName='youtube',
|
||||||
version='v3',
|
version='v3',
|
||||||
|
|
Loading…
Reference in a new issue