Commit ff6d2f10 authored by wang's avatar wang

1

parent 6ad1f479
...@@ -5,6 +5,8 @@ import subprocess ...@@ -5,6 +5,8 @@ import subprocess
import time import time
from pathlib import Path from pathlib import Path
import tempfile import tempfile
import requests
import tls_client import tls_client
from loguru import logger from loguru import logger
...@@ -23,6 +25,7 @@ class Reese84ByPass(object): ...@@ -23,6 +25,7 @@ class Reese84ByPass(object):
_session = tls_client.Session('chrome_112') _session = tls_client.Session('chrome_112')
def __init__(self, target, proxy, thread_name='test'): def __init__(self, target, proxy, thread_name='test'):
self._session = requests.Session()
self.__target = target self.__target = target
if proxy != '': if proxy != '':
self._session.proxies = { self._session.proxies = {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment