diff options
author | Valerii <81074936+valerii-chirkov@users.noreply.github.com> | 2023-05-05 00:14:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 00:14:29 +0200 |
commit | b3754facf9ada5bbf018a3b38151a2bd384afd52 (patch) | |
tree | 9f7b519081274c8f1c735aa2145b935acf335755 /unfinished/vercelai/test.js | |
parent | add(quora/tests): Added a module with quora tests. (diff) | |
parent | Merge pull request #443 from TheTrueShell/main (diff) | |
download | gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar.gz gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar.bz2 gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar.lz gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar.xz gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar.zst gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.zip |
Diffstat (limited to '')
-rw-r--r-- | unfinished/vercelai/test.js | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/unfinished/vercelai/test.js b/unfinished/vercelai/test.js deleted file mode 100644 index 0f822cfd..00000000 --- a/unfinished/vercelai/test.js +++ /dev/null @@ -1,33 +0,0 @@ -(async () => { - - let response = await fetch("https://play.vercel.ai/openai.jpeg", { - "headers": { - "accept": "*/*", - "accept-language": "en,fr-FR;q=0.9,fr;q=0.8,es-ES;q=0.7,es;q=0.6,en-US;q=0.5,am;q=0.4,de;q=0.3", - "sec-ch-ua": "\"Chromium\";v=\"112\", \"Google Chrome\";v=\"112\", \"Not:A-Brand\";v=\"99\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "sec-fetch-dest": "empty", - "sec-fetch-mode": "cors", - "sec-fetch-site": "same-origin" - }, - "referrer": "https://play.vercel.ai/", - "referrerPolicy": "strict-origin-when-cross-origin", - "body": null, - "method": "GET", - "mode": "cors", - "credentials": "omit" - }); - - - let data = JSON.parse(atob(await response.text())) - let ret = eval("(".concat(data.c, ")(data.a)")); - - botPreventionToken = btoa(JSON.stringify({ - r: ret, - t: data.t - })) - - console.log(botPreventionToken); - -})()
\ No newline at end of file |