diff options
author | Ramon Victor Cardoso <ramonvc19@gmail.com> | 2023-06-01 21:15:32 +0200 |
---|---|---|
committer | Ramon Victor Cardoso <ramonvc19@gmail.com> | 2023-06-01 21:15:32 +0200 |
commit | 1207bb5066155e411b8a8d65811fa28c3045ac99 (patch) | |
tree | ed9a9c72f37061782a636134431fc54b84e0a247 | |
parent | Merge pull request #532 from with1874/main (diff) | |
download | gpt4free-1207bb5066155e411b8a8d65811fa28c3045ac99.tar gpt4free-1207bb5066155e411b8a8d65811fa28c3045ac99.tar.gz gpt4free-1207bb5066155e411b8a8d65811fa28c3045ac99.tar.bz2 gpt4free-1207bb5066155e411b8a8d65811fa28c3045ac99.tar.lz gpt4free-1207bb5066155e411b8a8d65811fa28c3045ac99.tar.xz gpt4free-1207bb5066155e411b8a8d65811fa28c3045ac99.tar.zst gpt4free-1207bb5066155e411b8a8d65811fa28c3045ac99.zip |
-rw-r--r-- | gpt4free/quora/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpt4free/quora/api.py b/gpt4free/quora/api.py index 9e3c0b91..64021489 100644 --- a/gpt4free/quora/api.py +++ b/gpt4free/quora/api.py @@ -168,9 +168,9 @@ class Client: else: next_data = self.next_data - if not "availableBots" in self.viewer: + if not "viewerBotList" in self.viewer: raise RuntimeError("Invalid token or no bots are available.") - bot_list = self.viewer["availableBots"] + bot_list = self.viewer["viewerBotList"] threads = [] bots = {} |