„Networking.py“ ändern

This commit is contained in:
Manuel Kamper 2023-04-09 16:46:37 +00:00
parent d376d1a97f
commit 4396955500
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class Networking():
else:
return " "
def HTTP_GET(url):
def HTTP_GET(self, url):
_, _, host, path = url.split('/', 3)
addr = socket.getaddrinfo(host, 80)[0][-1]
s = socket.socket()