From 6dd6bb8444a04bea3de8fabb391da909ca5ae29b Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Tue, 14 Apr 2020 21:49:13 +0200 Subject: [PATCH] Bypass lyrebird expired certificate... what's going on there? --- hugvey/voice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hugvey/voice.py b/hugvey/voice.py index ccff88d..eccbbde 100644 --- a/hugvey/voice.py +++ b/hugvey/voice.py @@ -106,6 +106,7 @@ class LyrebirdVoiceFetcher(VoiceFetcher): headers={"authorization": f"Bearer {self.config['token']}"}, connect_timeout=self.config['connect_timeout'] if 'connect_timeout' in self.config else 15.0, request_timeout=self.config['request_timeout'] if 'request_timeout' in self.config else 18., + validate_cert=False, ) try: