mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-25 08:47:37 +01:00
exclude subnets 2
This commit is contained in:
parent
f11e6e7c24
commit
39eaa20a3e
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ PASSPORT_SSID_REGEX = r'passport_ssid=[a-z0-9]+_[a-z0-9]+_[a-z0-9]+'
|
||||||
PASSPORT_SSID_TEMPLATE = f'passport_ssid={DYNAMIC_PART_MOCK}'
|
PASSPORT_SSID_TEMPLATE = f'passport_ssid={DYNAMIC_PART_MOCK}'
|
||||||
NONCE_REGEX = r'"nonce":"[a-z0-9]+_[a-z0-9]+_[a-z0-9]+'
|
NONCE_REGEX = r'"nonce":"[a-z0-9]+_[a-z0-9]+_[a-z0-9]+'
|
||||||
NONCE_TEMPLATE = f'"nonce":"{DYNAMIC_PART_MOCK}'
|
NONCE_TEMPLATE = f'"nonce":"{DYNAMIC_PART_MOCK}'
|
||||||
PROXY_CONFIG_SUB_NET_REGEX = r'\d+:8888;'
|
PROXY_CONFIG_SUB_NET_REGEX = r'\d+\.\d+:8888;'
|
||||||
PROXY_CONFIG_SUB_NET_TEMPLATE = 'X:8888;'
|
PROXY_CONFIG_SUB_NET_TEMPLATE = 'X.X:8888;'
|
||||||
|
|
||||||
# unsecure but so simple
|
# unsecure but so simple
|
||||||
CONNECTOR = aiohttp.TCPConnector(ssl=False)
|
CONNECTOR = aiohttp.TCPConnector(ssl=False)
|
||||||
|
|
Loading…
Reference in a new issue