⭐️Thanks everyone who has starred the project, it means a lot!
TelethonFakeTLS adds support MTProxyFakeTLS Proxy (EE-secrets) to Telethon! (yes finally !!!)
What is this?
After long wait for Telethon to add support for EE proxy, i tired up and started implementing it myself !
Installing
pip3 install TelethonFakeTLS
Creating a client
You can use a base64 secret or hex one,
But remember to
Remove “ee” from the starting of hex secret
And
Remove “7” from the starting of the base64 secret.
Example:
ee9b43b87555bf9464e02bdcd2db8932b07777772e736974652e636f6d -> 9b43b87555bf9464e02bdcd2db8932b07777772e736974652e636f6d
7gEBAQEBAQEBAQEBAQEBAQFsaWIuYXJ2YW5jbG91ZC5jb20= -> gEBAQEBAQEBAQEBAQEBAQFsaWIuYXJ2YW5jbG91ZC5jb20=
import telethon.sync
import TelethonFakeTLS
api_id = 1234567
api_hash = 'a1b2c3d4e5f6g7h8i9j9b8euryueusjj'
proxy = ('195.201.142.247', 443, 'gEBAQEBAQEBAQEBAQEBAQFsaWIuYXJ2YW5jbG91ZC5jb20=')
connection = TelethonFakeTLS.ConnectionTcpMTProxyFakeTLS
proxy = proxy
client = telethon.TelegramClient(
session='test', api_id=api_id, api_hash=api_hash,
connection=connection,
proxy=proxy)
client.start()
Release files for TelethonFakeTLS 2022.4.4.16.37.38.728726
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| TelethonFakeTLS-2022.4.4.16.37.38.728726.tar.gz | 16.7 kB | Details |
Release files / TelethonFakeTLS-2022.4.4.16.37.38.728726.tar.gz
| Download URL | TelethonFakeTLS-2022.4.4.16.37.38.728726.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a3c63ad2ec50c24f89256cd006273238248a9b5197aa80564f4477faa095aa7
|
|
BLAKE2b-256 checksum How to use checksums |
243afc856b056e2df014c62214eb441f0ec1cf1e0d94d04b27cd3bb317e2538b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.2
|