更新 'm3u8下載/dl.sh'
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
6bc0daea48
commit
ddd4d4cd43
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue