Eitan177 commited on
Commit
a94496f
·
1 Parent(s): 6b43710

Update perplexity.py

Browse files
Files changed (1) hide show
  1. perplexity.py +1 -0
perplexity.py CHANGED
@@ -78,6 +78,7 @@ class Perplexity:
78
  return format(getrandbits(32), "08x")
79
 
80
  def _get_sid(self) -> str:
 
81
  return loads(self.session.get(
82
  url=f"https://www.perplexity.ai/socket.io/?EIO=4&transport=polling&t={self.t}"
83
  ).text[1:])["sid"]
 
78
  return format(getrandbits(32), "08x")
79
 
80
  def _get_sid(self) -> str:
81
+ st.write(self.session.get(url=f"https://www.perplexity.ai/socket.io/?EIO=4&transport=polling&t={self.t}").text)
82
  return loads(self.session.get(
83
  url=f"https://www.perplexity.ai/socket.io/?EIO=4&transport=polling&t={self.t}"
84
  ).text[1:])["sid"]