python-tls-client 1.0.2__tar.gz → 1.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_tls_client-1.0.2/python_tls_client.egg-info → python_tls_client-1.0.3}/PKG-INFO +9 -1
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/README.md +8 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3/python_tls_client.egg-info}/PKG-INFO +9 -1
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/__version__.py +1 -1
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/cffi.py +3 -3
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/LICENSE +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/MANIFEST.in +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/pyproject.toml +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/python_tls_client.egg-info/SOURCES.txt +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/python_tls_client.egg-info/dependency_links.txt +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/python_tls_client.egg-info/requires.txt +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/python_tls_client.egg-info/top_level.txt +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/requirements.txt +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/setup.cfg +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/setup.py +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tests/test_binary_response.py +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/__init__.py +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/cookies.py +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/__init__.py +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-32.dll +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-64.dll +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-amd64.so +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-arm64.dylib +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-arm64.so +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-x86.dylib +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-x86.so +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/exceptions.py +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/response.py +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/sessions.py +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/settings.py +0 -0
- {python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/structures.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-tls-client
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: Advanced Python HTTP Client with TLS fingerprint spoofing (fork with binary-response fix and certificate pinning)
|
|
5
5
|
Author: Emanuele Scarlata
|
|
6
6
|
License-Expression: MIT
|
|
@@ -172,6 +172,14 @@ Also I wanted to keep the syntax as similar as possible to [requests](https://gi
|
|
|
172
172
|
|
|
173
173
|
# Changelog
|
|
174
174
|
|
|
175
|
+
## 1.0.3
|
|
176
|
+
- **Fix**: on Linux, 64-bit x86 machines (`platform.machine() == "x86_64"`) were
|
|
177
|
+
incorrectly matched by the `"x86" in machine()` check in `cffi.py` and loaded
|
|
178
|
+
the 32-bit `tls-client-x86.so` binary instead of the 64-bit
|
|
179
|
+
`tls-client-amd64.so`, causing the native library to fail to load on the vast
|
|
180
|
+
majority of Linux hosts. `machine()` is now matched explicitly against
|
|
181
|
+
`x86_64`/`amd64`/`AMD64` before falling back to the 32-bit binary.
|
|
182
|
+
|
|
175
183
|
## 1.0.2
|
|
176
184
|
- **Fix**: binary response bodies (protobuf, images, ...) were corrupted by a
|
|
177
185
|
UTF-8 `byteReplacer` (U+FFFD) inside the Go C library. Every byte > 127 that
|
|
@@ -141,6 +141,14 @@ Also I wanted to keep the syntax as similar as possible to [requests](https://gi
|
|
|
141
141
|
|
|
142
142
|
# Changelog
|
|
143
143
|
|
|
144
|
+
## 1.0.3
|
|
145
|
+
- **Fix**: on Linux, 64-bit x86 machines (`platform.machine() == "x86_64"`) were
|
|
146
|
+
incorrectly matched by the `"x86" in machine()` check in `cffi.py` and loaded
|
|
147
|
+
the 32-bit `tls-client-x86.so` binary instead of the 64-bit
|
|
148
|
+
`tls-client-amd64.so`, causing the native library to fail to load on the vast
|
|
149
|
+
majority of Linux hosts. `machine()` is now matched explicitly against
|
|
150
|
+
`x86_64`/`amd64`/`AMD64` before falling back to the 32-bit binary.
|
|
151
|
+
|
|
144
152
|
## 1.0.2
|
|
145
153
|
- **Fix**: binary response bodies (protobuf, images, ...) were corrupted by a
|
|
146
154
|
UTF-8 `byteReplacer` (U+FFFD) inside the Go C library. Every byte > 127 that
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-tls-client
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: Advanced Python HTTP Client with TLS fingerprint spoofing (fork with binary-response fix and certificate pinning)
|
|
5
5
|
Author: Emanuele Scarlata
|
|
6
6
|
License-Expression: MIT
|
|
@@ -172,6 +172,14 @@ Also I wanted to keep the syntax as similar as possible to [requests](https://gi
|
|
|
172
172
|
|
|
173
173
|
# Changelog
|
|
174
174
|
|
|
175
|
+
## 1.0.3
|
|
176
|
+
- **Fix**: on Linux, 64-bit x86 machines (`platform.machine() == "x86_64"`) were
|
|
177
|
+
incorrectly matched by the `"x86" in machine()` check in `cffi.py` and loaded
|
|
178
|
+
the 32-bit `tls-client-x86.so` binary instead of the 64-bit
|
|
179
|
+
`tls-client-amd64.so`, causing the native library to fail to load on the vast
|
|
180
|
+
majority of Linux hosts. `machine()` is now matched explicitly against
|
|
181
|
+
`x86_64`/`amd64`/`AMD64` before falling back to the 32-bit binary.
|
|
182
|
+
|
|
175
183
|
## 1.0.2
|
|
176
184
|
- **Fix**: binary response bodies (protobuf, images, ...) were corrupted by a
|
|
177
185
|
UTF-8 `byteReplacer` (U+FFFD) inside the Go C library. Every byte > 127 that
|
|
@@ -11,10 +11,10 @@ elif platform in ('win32', 'cygwin'):
|
|
|
11
11
|
else:
|
|
12
12
|
if machine() == "aarch64":
|
|
13
13
|
file_ext = '-arm64.so'
|
|
14
|
-
elif "
|
|
15
|
-
file_ext = '-x86.so'
|
|
16
|
-
else:
|
|
14
|
+
elif machine() in ("x86_64", "amd64", "AMD64"):
|
|
17
15
|
file_ext = '-amd64.so'
|
|
16
|
+
else:
|
|
17
|
+
file_ext = '-x86.so'
|
|
18
18
|
|
|
19
19
|
root_dir = os.path.abspath(os.path.dirname(__file__))
|
|
20
20
|
library = ctypes.cdll.LoadLibrary(f'{root_dir}/dependencies/tls-client{file_ext}')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_tls_client-1.0.2 → python_tls_client-1.0.3}/python_tls_client.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{python_tls_client-1.0.2 → python_tls_client-1.0.3}/python_tls_client.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-32.dll
RENAMED
|
File without changes
|
{python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-64.dll
RENAMED
|
File without changes
|
{python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-amd64.so
RENAMED
|
File without changes
|
{python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-arm64.dylib
RENAMED
|
File without changes
|
{python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-arm64.so
RENAMED
|
File without changes
|
{python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-x86.dylib
RENAMED
|
File without changes
|
{python_tls_client-1.0.2 → python_tls_client-1.0.3}/tls_client/dependencies/tls-client-x86.so
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|