mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-14 02:00:31 +08:00
更新 update
This commit is contained in:
2
update
2
update
@@ -119,7 +119,7 @@ function install_backend_and_download_resources() {
|
||||
# 使用python进行URL解析,$1为PROXY_HOST
|
||||
function parse_url() {
|
||||
local result
|
||||
result=$(./parse_url.py ${1})
|
||||
result=$(python3 /app/parse_url.py ${1})
|
||||
# 解析结果并提取各项
|
||||
PROTOCOL=$(echo "$result" | grep "^SCHEME:" | awk '{print $2}')
|
||||
HOST=$(echo "$result" | grep "^HOST:" | awk '{print $2}')
|
||||
|
||||
Reference in New Issue
Block a user