mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-14 07:26:51 +03:00
Removed filepath from wget when downloading via proxy
This commit is contained in:
@@ -2840,7 +2840,7 @@ download_to_stream() {
|
|||||||
|
|
||||||
config_get_bool detour "main" "detour" "0"
|
config_get_bool detour "main" "detour" "0"
|
||||||
if [ "$detour" -eq 1 ]; then
|
if [ "$detour" -eq 1 ]; then
|
||||||
http_proxy="http://127.0.0.1:4534" https_proxy="http://127.0.0.1:4534" wget -qO- "$filepath" "$url" | sed 's/\r$//'
|
http_proxy="http://127.0.0.1:4534" https_proxy="http://127.0.0.1:4534" wget -qO- "$url" | sed 's/\r$//'
|
||||||
else
|
else
|
||||||
wget -qO- "$url" | sed 's/\r$//'
|
wget -qO- "$url" | sed 's/\r$//'
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user