diff --git a/jd-webgui/app.py b/jd-webgui/app.py
index 951bcc4..e870403 100644
--- a/jd-webgui/app.py
+++ b/jd-webgui/app.py
@@ -1019,7 +1019,6 @@ def render_proxies_page(
message: str = "",
socks5_in: str = "",
socks4_in: str = "",
- http_in: str = "",
out_text: str = "",
export_path: str = "",
) -> str:
@@ -1049,16 +1048,11 @@ def render_proxies_page(
-
-
-
-
-
JDownloader Import-Liste
- Format: socks5://IP:PORT, socks4://IP:PORT, http://IP:PORT. Keine Prüfung/Validierung.
+ Format: socks5://IP:PORT, socks4://IP:PORT. Keine Prüfung/Validierung.
@@ -1072,7 +1066,6 @@ def render_proxies_page(
@@ -1152,12 +1145,10 @@ def proxies_get():
s5 = format_proxy_lines(socks5_in, "socks5")
s4 = format_proxy_lines(socks4_in, "socks4")
- hp = format_proxy_lines(http_in, "http")
- combined = "\n".join([x for x in [s5, s4, hp] if x.strip()])
+ combined = "\n".join([x for x in [s5, s4] if x.strip()])
return HTMLResponse(render_proxies_page(
socks5_in=socks5_in,
socks4_in=socks4_in,
- http_in=http_in,
out_text=combined,
export_path=PROXY_EXPORT_PATH,
))
@@ -1168,18 +1159,15 @@ def proxies_get():
def proxies_post(
socks5_in: str = Form(""),
socks4_in: str = Form(""),
- http_in: str = Form(""),
):
try:
s5 = format_proxy_lines(socks5_in, "socks5")
s4 = format_proxy_lines(socks4_in, "socks4")
- hp = format_proxy_lines(http_in, "http")
- combined = "\n".join([x for x in [s5, s4, hp] if x.strip()])
+ combined = "\n".join([x for x in [s5, s4] if x.strip()])
return HTMLResponse(render_proxies_page(
socks5_in=socks5_in,
socks4_in=socks4_in,
- http_in=http_in,
out_text=combined,
export_path=PROXY_EXPORT_PATH,
))
@@ -1188,7 +1176,6 @@ def proxies_post(
error=str(e),
socks5_in=socks5_in,
socks4_in=socks4_in,
- http_in=http_in,
out_text="",
export_path=PROXY_EXPORT_PATH,
), status_code=400)
@@ -1197,19 +1184,16 @@ def proxies_post(
def proxies_save(
socks5_in: str = Form(""),
socks4_in: str = Form(""),
- http_in: str = Form(""),
):
try:
s5 = format_proxy_lines(socks5_in, "socks5")
s4 = format_proxy_lines(socks4_in, "socks4")
- hp = format_proxy_lines(http_in, "http")
- combined = "\n".join([x for x in [s5, s4, hp] if x.strip()])
+ combined = "\n".join([x for x in [s5, s4] if x.strip()])
export_path = save_proxy_export(combined)
return HTMLResponse(render_proxies_page(
message=f"Proxy-Liste gespeichert: {export_path}",
socks5_in=socks5_in,
socks4_in=socks4_in,
- http_in=http_in,
out_text=combined,
export_path=export_path,
))
@@ -1218,7 +1202,6 @@ def proxies_save(
error=str(e),
socks5_in=socks5_in,
socks4_in=socks4_in,
- http_in=http_in,
out_text="",
export_path=PROXY_EXPORT_PATH,
), status_code=400)