#ariels office
1 messages · Page 1 of 1 (latest)
I dookied my pant
💀
💀
ok so like this
?
tell discodhehe to put bing in my private server
lmao
lol
use jeffbot for gpt stuff
he can use this
hold on
Get instant answers, explanations, and examples for all of your technical questions.
this one
it is like bing
serious
try to make a bout of of this
does it have an api?
i have no clue, but can someone scrape api out of it
it is possible right like bing
yes
ill ping him here later
m
this
any idea how to get a bot out of this
i donno coding stuff
fetch("https://www.phind.com/api/search", {
"headers": {
"content-type": "application/json"
},
"referrer": "https://www.phind.com/search?q=test",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{\"freshness\":\"\",\"q\":\"hi\",\"userRankList\":{\"developer.mozilla.org\":1,\"github.com\":1,\"stackoverflow.com\":1,\"www.reddit.com\":1,\"en.wikipedia.org\":1,\"www.amazon.com\":-1,\"www.quora.com\":-2,\"www.pinterest.com\":-3,\"rust-lang\":2,\".rs\":1},\"browserLanguage\":\"en\"}",
"method": "POST",
"mode": "cors",
"credentials": "include"
})
first send a request to this with your query and get the response
fetch("https://www.phind.com/api/tldr", {
"headers": {
"accept": "application/json",
"content-type": "application/json",
"cookie": "__cf_bm=...",
"Referer": "https://www.phind.com/search?q=test",
"Referrer-Policy": "strict-origin-when-cross-origin"
},
"body": "{\"question\":\"<original query>\",\"bingResults\":{<put results you got from earlier here>}",
"method": "POST"
});
then pass the results you got to here, with the query again
they use cloudflare so you might have to play around with different user agents and headers

