Comments (1)
Open Perplexity.ai website. Sign in to your account if you're not signed in. Click F12 or Ctrl + Shift + I to open inspector. Check "Preserve log" button, go to the "Network" tab in the inspector, click the "clear" button in inspector (image 1), click refresh button in your browser, right click the first request in the Network Tab and hover on "Copy" and click to "Copy as cURL (bash)". Now go to the curlconverter, paste your code here. The header and cookies dictionary will appear, copy them and use in your codes as "perplexity_headers" and "perplexity_cookies".
Do not call "perplexity_cli.create_account" function in your script, these cookies will cause the client to use your account, and they are temporary as others.
from perplexity-ai.
Related Issues (20)
- Error: Handshake status 400 Bad Request HOT 2
- JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 2
- Unable to initialize Client class HOT 6
- Exception has occurred: WebSocketConnectionClosedException socket is already closed. HOT 3
- If I use youtube as focus, it gives other sources too 🥺 HOT 1
- Follow-up query HOT 1
- File upload in concise mode HOT 2
- Followup after file upload losing context HOT 2
- Not terminating? HOT 1
- Invalid cookie HOT 1
- Cookies not working HOT 11
- issue with public url in s3
- Can't seems to contact with Perplexity HOT 2
- It sometimes says "Shard ID None heartbeat blocked for more than x seconds HOT 1
- ModuleNotFoundError: No module named 'perplexity' HOT 3
- AssertionError at line 99 in file perplexity.py HOT 2
- Perplexity account creating error: <Response [400]> HOT 5
- "json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)" when running labs_cli.ask HOT 10
- How to use claude2/gpt4 HOT 4
- static t token in websocket requests causing issues? HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perplexity-ai.