mirror of
https://github.com/sigmasternchen/Anineko
synced 2025-03-15 19:48:54 +00:00
more debugging
This commit is contained in:
parent
1ffed926cf
commit
c8acfa6350
2 changed files with 4 additions and 1 deletions
3
anineko
3
anineko
|
@ -195,6 +195,9 @@ elif test "$mode" = "file"; then
|
||||||
if test -z "$1"; then
|
if test -z "$1"; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
$debug && echo $1 1>&2
|
||||||
|
|
||||||
echo -n " Probing size... "
|
echo -n " Probing size... "
|
||||||
size=$(wget --user-agent="$useragent" "$1" --spider --server-response -O - 2>&1 | grep "Content-Length: " | awk '{ print $2 }' | egrep ".{5}")
|
size=$(wget --user-agent="$useragent" "$1" --spider --server-response -O - 2>&1 | grep "Content-Length: " | awk '{ print $2 }' | egrep ".{5}")
|
||||||
echo -n $size
|
echo -n $size
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
5c53c42ad2ba771b036a4fa0ec7843e9 anineko
|
aef9e4934856477e2300042306c5eba5 anineko
|
||||||
|
|
Loading…
Reference in a new issue