mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 03:32:34 +08:00
修复不能导入http链接的bug
This commit is contained in:
parent
bf86c99f36
commit
530dd9b98c
|
@ -168,7 +168,7 @@ echo -e "\033[33m 0 返回上级目录!\033[0m"
|
||||||
echo
|
echo
|
||||||
url=""
|
url=""
|
||||||
read -p "请输入第"$i"个链接 > " url
|
read -p "请输入第"$i"个链接 > " url
|
||||||
test=$(echo $url | egrep 'vmess://|ss://|ssr://|trojan://') #grep "://"
|
test=$(echo $url | grep "://"
|
||||||
url=`echo ${url/\ \(*\)/''}` #删除恶心的超链接内容
|
url=`echo ${url/\ \(*\)/''}` #删除恶心的超链接内容
|
||||||
if [[ "$test" != "" ]];then
|
if [[ "$test" != "" ]];then
|
||||||
if [[ $i == 1 ]];then
|
if [[ $i == 1 ]];then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user