From 32da1f66b96e7a25291407553b8b64612ab9b80d Mon Sep 17 00:00:00 2001 From: coolnsx Date: Fri, 19 Jan 2024 00:16:48 +0530 Subject: [PATCH] tl;dr --- download | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download b/download index 1134b78..a192037 100755 --- a/download +++ b/download @@ -50,7 +50,7 @@ instagram() { printf '%s' "$n" | cut -c-"$e" | sed 's/./&\n/g' | tr -s '\n' | nl -nln -v0 | sed -nE 's|^([0-9]*)[[:space:]]*(.*)|s\/\2\/\1\/g|p' > "$sed_file" printf 's/%s/\\n/g' "$(printf "%s" "$n" | cut -c"$((e+1))")" >> "$sed_file" - data=$(printf "%s" "$response" | head -1 | sed -f "$sed_file" | sed -n '1200,2500p') + data=$(printf "%s" "$response" | head -1 | sed -f "$sed_file" | sed -n '1200,$p') info "Decoding JS" "Instagram" "$2" printf "" > "$sed_file"