更新 'm3u8下載/dl.sh'
continuous-integration/drone/push Build is passing Details

master
evanchen 2021-09-26 10:57:35 +00:00
parent 6bc0daea48
commit ddd4d4cd43
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ file=$(echo $file | sed 's/[\*\.\&\?]/\\&/g')
while read p; do while read p; do
if [[ $p != "#"* ]]; then if [[ $p != "#"* ]]; then
pp=$(echo $p | sed 's/[\*\.\&\?]/\\&/g') pp=$(echo $p | sed 's/[\*\.\&\?]/\\&/g')
echo $p
ts="$(echo $BASE | sed "s,$file,$pp,") -o $p -w '%{http_code}'" ts="$(echo $BASE | sed "s,$file,$pp,") -o $p -w '%{http_code}'"
status_code=$(eval " $ts") status_code=$(eval " $ts")