summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxtekky <98614666+xtekky@users.noreply.github.com>2023-06-04 00:28:22 +0200
committerGitHub <noreply@github.com>2023-06-04 00:28:22 +0200
commit61e22b97000e8e90027ad2451caff86a9505ce91 (patch)
tree76157ccdd4251ff7e472ad8a3b0889dfc07a4b8d
parentMerge pull request #628 from hpsj/main (diff)
parentFix: Exception in thread & KeyError: 'displayName' (diff)
downloadgpt4free-61e22b97000e8e90027ad2451caff86a9505ce91.tar
gpt4free-61e22b97000e8e90027ad2451caff86a9505ce91.tar.gz
gpt4free-61e22b97000e8e90027ad2451caff86a9505ce91.tar.bz2
gpt4free-61e22b97000e8e90027ad2451caff86a9505ce91.tar.lz
gpt4free-61e22b97000e8e90027ad2451caff86a9505ce91.tar.xz
gpt4free-61e22b97000e8e90027ad2451caff86a9505ce91.tar.zst
gpt4free-61e22b97000e8e90027ad2451caff86a9505ce91.zip
Diffstat (limited to '')
-rw-r--r--gpt4free/quora/api.py4
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 = {}