Created
April 12, 2022 23:38
-
-
Save vincent178/3cb16d6c893d451f45818ff04fc2b2df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eof pipefail | |
# download proxy list from provider | |
proxies=$(cat /tmp/dler | awk -F \= '{ print $1"," }' | tr -d '\n' | sed 's/,$//') | |
echo "[Proxy] | |
$(cat /tmp/dler) | |
[Proxy Group] | |
PROXY = url-test, $proxies | |
" > dler.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment