mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-19 14:08:55 +03:00
v0.3.10
This commit is contained in:
@@ -47,13 +47,7 @@ main() {
|
||||
while read -r url; do
|
||||
filename=$(basename "$url")
|
||||
filepath="$DOWNLOAD_DIR/$filename"
|
||||
|
||||
if [ -f "$filepath" ] && [ -s "$filepath" ]; then
|
||||
echo "$filename has already been uploaded"
|
||||
download_success=1
|
||||
continue
|
||||
fi
|
||||
|
||||
|
||||
attempt=0
|
||||
while [ $attempt -lt $COUNT ]; do
|
||||
echo "Download $filename (count $((attempt+1)))..."
|
||||
|
||||
Reference in New Issue
Block a user