summaryrefslogtreecommitdiffstats
path: root/quora
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-10 01:09:29 +0200
committert.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-10 01:09:29 +0200
commit3be905b742b040c7f497727f9e765a8d709baa44 (patch)
tree0aafc1ea98e094a7eb47343b0ed5f60c158ce52a /quora
parentyou.com api (gpt 3.5 + internet) (diff)
downloadgpt4free-3be905b742b040c7f497727f9e765a8d709baa44.tar
gpt4free-3be905b742b040c7f497727f9e765a8d709baa44.tar.gz
gpt4free-3be905b742b040c7f497727f9e765a8d709baa44.tar.bz2
gpt4free-3be905b742b040c7f497727f9e765a8d709baa44.tar.lz
gpt4free-3be905b742b040c7f497727f9e765a8d709baa44.tar.xz
gpt4free-3be905b742b040c7f497727f9e765a8d709baa44.tar.zst
gpt4free-3be905b742b040c7f497727f9e765a8d709baa44.zip
Diffstat (limited to '')
-rw-r--r--quora/__init__.py (renamed from poe/__init__.py)20
-rw-r--r--quora/api.py (renamed from poe/api.py)0
-rw-r--r--quora/cookies.txt (renamed from poe/cookies.txt)2
-rw-r--r--quora/graphql/AddHumanMessageMutation.graphql (renamed from poe/graphql/AddHumanMessageMutation.graphql)0
-rw-r--r--quora/graphql/AddMessageBreakMutation.graphql (renamed from poe/graphql/AddMessageBreakMutation.graphql)0
-rw-r--r--quora/graphql/AutoSubscriptionMutation.graphql (renamed from poe/graphql/AutoSubscriptionMutation.graphql)0
-rw-r--r--quora/graphql/BioFragment.graphql (renamed from poe/graphql/BioFragment.graphql)0
-rw-r--r--quora/graphql/ChatAddedSubscription.graphql (renamed from poe/graphql/ChatAddedSubscription.graphql)0
-rw-r--r--quora/graphql/ChatFragment.graphql (renamed from poe/graphql/ChatFragment.graphql)0
-rw-r--r--quora/graphql/ChatListPaginationQuery.graphql (renamed from poe/graphql/ChatListPaginationQuery.graphql)0
-rw-r--r--quora/graphql/ChatPaginationQuery.graphql (renamed from poe/graphql/ChatPaginationQuery.graphql)0
-rw-r--r--quora/graphql/ChatViewQuery.graphql (renamed from poe/graphql/ChatViewQuery.graphql)0
-rw-r--r--quora/graphql/DeleteHumanMessagesMutation.graphql (renamed from poe/graphql/DeleteHumanMessagesMutation.graphql)0
-rw-r--r--quora/graphql/DeleteMessageMutation.graphql (renamed from poe/graphql/DeleteMessageMutation.graphql)0
-rw-r--r--quora/graphql/HandleFragment.graphql (renamed from poe/graphql/HandleFragment.graphql)0
-rw-r--r--quora/graphql/LoginWithVerificationCodeMutation.graphql (renamed from poe/graphql/LoginWithVerificationCodeMutation.graphql)0
-rw-r--r--quora/graphql/MessageAddedSubscription.graphql (renamed from poe/graphql/MessageAddedSubscription.graphql)0
-rw-r--r--quora/graphql/MessageDeletedSubscription.graphql (renamed from poe/graphql/MessageDeletedSubscription.graphql)0
-rw-r--r--quora/graphql/MessageFragment.graphql (renamed from poe/graphql/MessageFragment.graphql)0
-rw-r--r--quora/graphql/MessageRemoveVoteMutation.graphql (renamed from poe/graphql/MessageRemoveVoteMutation.graphql)0
-rw-r--r--quora/graphql/MessageSetVoteMutation.graphql (renamed from poe/graphql/MessageSetVoteMutation.graphql)0
-rw-r--r--quora/graphql/SendMessageMutation.graphql (renamed from poe/graphql/SendMessageMutation.graphql)0
-rw-r--r--quora/graphql/SendVerificationCodeForLoginMutation.graphql (renamed from poe/graphql/SendVerificationCodeForLoginMutation.graphql)0
-rw-r--r--quora/graphql/ShareMessagesMutation.graphql (renamed from poe/graphql/ShareMessagesMutation.graphql)0
-rw-r--r--quora/graphql/SignupWithVerificationCodeMutation.graphql (renamed from poe/graphql/SignupWithVerificationCodeMutation.graphql)0
-rw-r--r--quora/graphql/StaleChatUpdateMutation.graphql (renamed from poe/graphql/StaleChatUpdateMutation.graphql)0
-rw-r--r--quora/graphql/SubscriptionsMutation.graphql (renamed from poe/graphql/SubscriptionsMutation.graphql)0
-rw-r--r--quora/graphql/SummarizePlainPostQuery.graphql (renamed from poe/graphql/SummarizePlainPostQuery.graphql)0
-rw-r--r--quora/graphql/SummarizeQuotePostQuery.graphql (renamed from poe/graphql/SummarizeQuotePostQuery.graphql)0
-rw-r--r--quora/graphql/SummarizeSharePostQuery.graphql (renamed from poe/graphql/SummarizeSharePostQuery.graphql)0
-rw-r--r--quora/graphql/UserSnippetFragment.graphql (renamed from poe/graphql/UserSnippetFragment.graphql)0
-rw-r--r--quora/graphql/ViewerInfoQuery.graphql (renamed from poe/graphql/ViewerInfoQuery.graphql)0
-rw-r--r--quora/graphql/ViewerStateFragment.graphql (renamed from poe/graphql/ViewerStateFragment.graphql)0
-rw-r--r--quora/graphql/ViewerStateUpdatedSubscription.graphql (renamed from poe/graphql/ViewerStateUpdatedSubscription.graphql)0
-rw-r--r--quora/graphql/__init__.py (renamed from poe/graphql/__init__.py)0
-rw-r--r--quora/mail.py (renamed from poe/mail.py)0
-rw-r--r--quora/poe_test.py13
37 files changed, 25 insertions, 10 deletions
diff --git a/poe/__init__.py b/quora/__init__.py
index d1cb8ae5..5cae5905 100644
--- a/poe/__init__.py
+++ b/quora/__init__.py
@@ -1,13 +1,13 @@
-from poe.api import Client as PoeClient
-from poe.mail import Mail
-from requests import Session
-from re import search, findall
-from json import loads
-from time import sleep, time
-from pathlib import Path
-from random import choice
-from urllib import parse
-
+from quora.api import Client as PoeClient
+from quora.mail import Mail
+from requests import Session
+from re import search, findall
+from json import loads
+from time import sleep, time
+from pathlib import Path
+from random import choice
+from urllib import parse
+
class PoeResponse:
class Completion:
diff --git a/poe/api.py b/quora/api.py
index e4c5d166..e4c5d166 100644
--- a/poe/api.py
+++ b/quora/api.py
diff --git a/poe/cookies.txt b/quora/cookies.txt
index 0cbd6ca9..3209efe9 100644
--- a/poe/cookies.txt
+++ b/quora/cookies.txt
@@ -5,3 +5,5 @@ NEttgJ_rRQdO05Tppx6hFw==
8hZKR7MxwUTEHvO45TEViw==
Eea6BqK0AmosTKzoI3AAow==
pUEbtxobN_QUSpLIR8RGww==
+9_dUWxKkHHhpQRSvCvBk2Q==
+UV45rvGwUwi2qV9QdIbMcw==
diff --git a/poe/graphql/AddHumanMessageMutation.graphql b/quora/graphql/AddHumanMessageMutation.graphql
index 01e6bc8c..01e6bc8c 100644
--- a/poe/graphql/AddHumanMessageMutation.graphql
+++ b/quora/graphql/AddHumanMessageMutation.graphql
diff --git a/poe/graphql/AddMessageBreakMutation.graphql b/quora/graphql/AddMessageBreakMutation.graphql
index b28d9903..b28d9903 100644
--- a/poe/graphql/AddMessageBreakMutation.graphql
+++ b/quora/graphql/AddMessageBreakMutation.graphql
diff --git a/poe/graphql/AutoSubscriptionMutation.graphql b/quora/graphql/AutoSubscriptionMutation.graphql
index 6cf7bf74..6cf7bf74 100644
--- a/poe/graphql/AutoSubscriptionMutation.graphql
+++ b/quora/graphql/AutoSubscriptionMutation.graphql
diff --git a/poe/graphql/BioFragment.graphql b/quora/graphql/BioFragment.graphql
index c4218030..c4218030 100644
--- a/poe/graphql/BioFragment.graphql
+++ b/quora/graphql/BioFragment.graphql
diff --git a/poe/graphql/ChatAddedSubscription.graphql b/quora/graphql/ChatAddedSubscription.graphql
index 664b107f..664b107f 100644
--- a/poe/graphql/ChatAddedSubscription.graphql
+++ b/quora/graphql/ChatAddedSubscription.graphql
diff --git a/poe/graphql/ChatFragment.graphql b/quora/graphql/ChatFragment.graphql
index 605645ff..605645ff 100644
--- a/poe/graphql/ChatFragment.graphql
+++ b/quora/graphql/ChatFragment.graphql
diff --git a/poe/graphql/ChatListPaginationQuery.graphql b/quora/graphql/ChatListPaginationQuery.graphql
index 6d9ae884..6d9ae884 100644
--- a/poe/graphql/ChatListPaginationQuery.graphql
+++ b/quora/graphql/ChatListPaginationQuery.graphql
diff --git a/poe/graphql/ChatPaginationQuery.graphql b/quora/graphql/ChatPaginationQuery.graphql
index f2452cd6..f2452cd6 100644
--- a/poe/graphql/ChatPaginationQuery.graphql
+++ b/quora/graphql/ChatPaginationQuery.graphql
diff --git a/poe/graphql/ChatViewQuery.graphql b/quora/graphql/ChatViewQuery.graphql
index c330107d..c330107d 100644
--- a/poe/graphql/ChatViewQuery.graphql
+++ b/quora/graphql/ChatViewQuery.graphql
diff --git a/poe/graphql/DeleteHumanMessagesMutation.graphql b/quora/graphql/DeleteHumanMessagesMutation.graphql
index 42692c6e..42692c6e 100644
--- a/poe/graphql/DeleteHumanMessagesMutation.graphql
+++ b/quora/graphql/DeleteHumanMessagesMutation.graphql
diff --git a/poe/graphql/DeleteMessageMutation.graphql b/quora/graphql/DeleteMessageMutation.graphql
index 7b9e36d4..7b9e36d4 100644
--- a/poe/graphql/DeleteMessageMutation.graphql
+++ b/quora/graphql/DeleteMessageMutation.graphql
diff --git a/poe/graphql/HandleFragment.graphql b/quora/graphql/HandleFragment.graphql
index f53c484b..f53c484b 100644
--- a/poe/graphql/HandleFragment.graphql
+++ b/quora/graphql/HandleFragment.graphql
diff --git a/poe/graphql/LoginWithVerificationCodeMutation.graphql b/quora/graphql/LoginWithVerificationCodeMutation.graphql
index 723b1f44..723b1f44 100644
--- a/poe/graphql/LoginWithVerificationCodeMutation.graphql
+++ b/quora/graphql/LoginWithVerificationCodeMutation.graphql
diff --git a/poe/graphql/MessageAddedSubscription.graphql b/quora/graphql/MessageAddedSubscription.graphql
index 8dc9499c..8dc9499c 100644
--- a/poe/graphql/MessageAddedSubscription.graphql
+++ b/quora/graphql/MessageAddedSubscription.graphql
diff --git a/poe/graphql/MessageDeletedSubscription.graphql b/quora/graphql/MessageDeletedSubscription.graphql
index 54c1c164..54c1c164 100644
--- a/poe/graphql/MessageDeletedSubscription.graphql
+++ b/quora/graphql/MessageDeletedSubscription.graphql
diff --git a/poe/graphql/MessageFragment.graphql b/quora/graphql/MessageFragment.graphql
index cc860811..cc860811 100644
--- a/poe/graphql/MessageFragment.graphql
+++ b/quora/graphql/MessageFragment.graphql
diff --git a/poe/graphql/MessageRemoveVoteMutation.graphql b/quora/graphql/MessageRemoveVoteMutation.graphql
index d5e6e610..d5e6e610 100644
--- a/poe/graphql/MessageRemoveVoteMutation.graphql
+++ b/quora/graphql/MessageRemoveVoteMutation.graphql
diff --git a/poe/graphql/MessageSetVoteMutation.graphql b/quora/graphql/MessageSetVoteMutation.graphql
index 76000df0..76000df0 100644
--- a/poe/graphql/MessageSetVoteMutation.graphql
+++ b/quora/graphql/MessageSetVoteMutation.graphql
diff --git a/poe/graphql/SendMessageMutation.graphql b/quora/graphql/SendMessageMutation.graphql
index 4b0a4383..4b0a4383 100644
--- a/poe/graphql/SendMessageMutation.graphql
+++ b/quora/graphql/SendMessageMutation.graphql
diff --git a/poe/graphql/SendVerificationCodeForLoginMutation.graphql b/quora/graphql/SendVerificationCodeForLoginMutation.graphql
index 45af4799..45af4799 100644
--- a/poe/graphql/SendVerificationCodeForLoginMutation.graphql
+++ b/quora/graphql/SendVerificationCodeForLoginMutation.graphql
diff --git a/poe/graphql/ShareMessagesMutation.graphql b/quora/graphql/ShareMessagesMutation.graphql
index 92e80db5..92e80db5 100644
--- a/poe/graphql/ShareMessagesMutation.graphql
+++ b/quora/graphql/ShareMessagesMutation.graphql
diff --git a/poe/graphql/SignupWithVerificationCodeMutation.graphql b/quora/graphql/SignupWithVerificationCodeMutation.graphql
index 06b2826f..06b2826f 100644
--- a/poe/graphql/SignupWithVerificationCodeMutation.graphql
+++ b/quora/graphql/SignupWithVerificationCodeMutation.graphql
diff --git a/poe/graphql/StaleChatUpdateMutation.graphql b/quora/graphql/StaleChatUpdateMutation.graphql
index de203d47..de203d47 100644
--- a/poe/graphql/StaleChatUpdateMutation.graphql
+++ b/quora/graphql/StaleChatUpdateMutation.graphql
diff --git a/poe/graphql/SubscriptionsMutation.graphql b/quora/graphql/SubscriptionsMutation.graphql
index b864bd60..b864bd60 100644
--- a/poe/graphql/SubscriptionsMutation.graphql
+++ b/quora/graphql/SubscriptionsMutation.graphql
diff --git a/poe/graphql/SummarizePlainPostQuery.graphql b/quora/graphql/SummarizePlainPostQuery.graphql
index afa2a84c..afa2a84c 100644
--- a/poe/graphql/SummarizePlainPostQuery.graphql
+++ b/quora/graphql/SummarizePlainPostQuery.graphql
diff --git a/poe/graphql/SummarizeQuotePostQuery.graphql b/quora/graphql/SummarizeQuotePostQuery.graphql
index 5147c3c5..5147c3c5 100644
--- a/poe/graphql/SummarizeQuotePostQuery.graphql
+++ b/quora/graphql/SummarizeQuotePostQuery.graphql
diff --git a/poe/graphql/SummarizeSharePostQuery.graphql b/quora/graphql/SummarizeSharePostQuery.graphql
index cb4a623c..cb4a623c 100644
--- a/poe/graphql/SummarizeSharePostQuery.graphql
+++ b/quora/graphql/SummarizeSharePostQuery.graphql
diff --git a/poe/graphql/UserSnippetFragment.graphql b/quora/graphql/UserSnippetFragment.graphql
index 17fc8426..17fc8426 100644
--- a/poe/graphql/UserSnippetFragment.graphql
+++ b/quora/graphql/UserSnippetFragment.graphql
diff --git a/poe/graphql/ViewerInfoQuery.graphql b/quora/graphql/ViewerInfoQuery.graphql
index 1ecaf9e8..1ecaf9e8 100644
--- a/poe/graphql/ViewerInfoQuery.graphql
+++ b/quora/graphql/ViewerInfoQuery.graphql
diff --git a/poe/graphql/ViewerStateFragment.graphql b/quora/graphql/ViewerStateFragment.graphql
index 3cd83e9c..3cd83e9c 100644
--- a/poe/graphql/ViewerStateFragment.graphql
+++ b/quora/graphql/ViewerStateFragment.graphql
diff --git a/poe/graphql/ViewerStateUpdatedSubscription.graphql b/quora/graphql/ViewerStateUpdatedSubscription.graphql
index 03fc73d1..03fc73d1 100644
--- a/poe/graphql/ViewerStateUpdatedSubscription.graphql
+++ b/quora/graphql/ViewerStateUpdatedSubscription.graphql
diff --git a/poe/graphql/__init__.py b/quora/graphql/__init__.py
index e69de29b..e69de29b 100644
--- a/poe/graphql/__init__.py
+++ b/quora/graphql/__init__.py
diff --git a/poe/mail.py b/quora/mail.py
index d4aeb564..d4aeb564 100644
--- a/poe/mail.py
+++ b/quora/mail.py
diff --git a/quora/poe_test.py b/quora/poe_test.py
new file mode 100644
index 00000000..cfc94966
--- /dev/null
+++ b/quora/poe_test.py
@@ -0,0 +1,13 @@
+import quora
+from time import sleep
+
+token = quora.Account.create(proxy = 'xtekky:ogingoi2n3g@geo.iproyal.com:12321',logging = True)
+print('token', token)
+
+sleep(2)
+
+for response in quora.StreamingCompletion.create(model = 'gpt-4',
+ prompt = 'hello world',
+ token = token):
+
+ print(response.completion.choices[0].text, end="", flush=True) \ No newline at end of file