Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果没有 curl, 则采用 wget 下载 #4

Open
edwinjhlee opened this issue Nov 11, 2023 · 2 comments
Open

如果没有 curl, 则采用 wget 下载 #4

edwinjhlee opened this issue Nov 11, 2023 · 2 comments

Comments

@edwinjhlee
Copy link
Member

get/index.html

Lines 27 to 31 in 1c69988

command curl --fail "$url" >"$target" 2>/dev/null || {
command rm -rf "$tmptgt";
___x_cmd_get_log "Fail to download from: $url";
exit 1;
};

@edwinjhlee
Copy link
Member Author

加入了 wget 后,有这个问题:

image

@qiakai
Copy link
Collaborator

qiakai commented Nov 12, 2023

advise 这里用的是 curl 模块,看来是下载失败了
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants