No project description provided
Project description
PY arkose-token generator
Example usage
pip install py-arkose-generator
import requests
from py_arkose_generator.arkose import get_values_for_request
opt = {
"pkey": "3D86FBBA-9D22-402A-B512-3420086BA6CC",
"surl": "https://tcr9i.chat.openai.com",
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36"
},
"site": "https://chat.openai.com",
}
args_for_request = get_values_for_request(opt)
response = requests.post(**args_for_request)
decoded_json = response.json()
if "token" in decoded_json:
print(decoded_json["token"])
else:
print(f"Error!\n {decoded_json}")
# Output: 454179210495214b7.0967231805|r=eu-west-1|meta=3|metabgclr=transparent|metaiconclr=%23757575|guitextcolor=%23000000|lang=en|pk=3D86FBBA-9D22-402A-B512-3420086BA6CC|at=40|sup=1|rid=16|ag=101|cdn_url=https%3A%2F%2Ftcr9i.chat.openai.com%2Fcdn%2Ffc|lurl=https%3A%2F%2Faudio-eu-west-1.arkoselabs.com|surl=https%3A%2F%2Ftcr9i.chat.openai.com|smurl=https%3A%2F%2Ftcr9i.chat.openai.com%2Fcdn%2Ffc%2Fassets%2Fstyle-manager
Originally translated from funcaptcha
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for py_arkose_generator-0.0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8700d974989168876efb95c012c485a32b8ddc4deaf08cb903273797e2804bab |
|
MD5 | 40972399c03eafe27579f53610d822f6 |
|
BLAKE2b-256 | 0790cbf56b6e9577c92b7fb7f6010a95576855bcccfab05068ce5678f6052b47 |
Close
Hashes for py_arkose_generator-0.0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9849660c89fe070fc956192850c858d251df9b9842e58763b4506b4c61071654 |
|
MD5 | 7496ffa74fe908cd5301069d86a11b56 |
|
BLAKE2b-256 | 067657672d97a577d4cb52207a2e98182107f07f1735e295321ddbb5664c7110 |