Fix RequestContent(), fix renamer.py

This commit is contained in:
EstrellaXD
2023-03-14 23:11:45 +08:00
parent 34216245f7
commit cc65c07886
14 changed files with 31 additions and 35 deletions

View File

@@ -48,6 +48,7 @@ class RequestURL:
socks.set_default_proxy(socks.SOCKS5, addr=settings.proxy.host, port=settings.proxy.port, rdns=True,
username=settings.proxy.username, password=settings.proxy.password)
socket.socket = socks.socksocket
return self
def __exit__(self, exc_type, exc_val, exc_tb):
self.session.close()