mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 15:14:52 +00:00
Use socks socket to allow enabling a proxy
This commit is contained in:
parent
155087e305
commit
0aed7bf24a
1 changed files with 3 additions and 1 deletions
|
|
@ -19,10 +19,12 @@
|
||||||
import logging
|
import logging
|
||||||
import socket
|
import socket
|
||||||
|
|
||||||
|
import socks
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class TCP(socket.socket):
|
class TCP(socks.socksocket):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue