Pre-release
This release is a pre-release and may not be stable for production use.
requests which pass through tls
安装
- pip install requests-curl-antitls
- 执行以下脚本
# 如果有多个虚拟环境,刚才哪个python安装的curl,就用哪个python执行这个
import sys
import os
base = os.path.join(sys.prefix, "lib", "libcurl-impersonate-chrome.so")
with open(base, "rb") as inp, open("/usr/lib/libcurl-impersonate-chrome.so.4","wb") as out:
data = inp.read()
out.write(data)
Metadata
Release files for requests-curl-antitls 0.1.0rc3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| requests-curl-antitls-0.1.0rc3.tar.gz | 9.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| requests_curl_antitls-0.1.0rc3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.8 kB
Release files / requests-curl-antitls-0.1.0rc3.tar.gz
| Download URL | requests-curl-antitls-0.1.0rc3.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
260d53b5a2bfeef39d133e3c16fc13ff796b999490eaef009cc095e4237ab136
|
|
BLAKE2b-256 checksum How to use checksums |
bcee5b09a78de9541666993a073fbac609aafc49317fdc28351eedc9e482e99f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11
|
Release files / requests_curl_antitls-0.1.0rc3-py3-none-any.whl
| Download URL | requests_curl_antitls-0.1.0rc3-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34ef3aa6374a2d8aab69ea547f6d80a608bfc0e9d9b5474689a858e4c6aab601
|
|
BLAKE2b-256 checksum How to use checksums |
f73e874eeb109d743310c4eb6b8332257512f879eb372cae88bda4af0226d77a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11
|