Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ## JavCode </ JavaCodeRulez >
- ## c0ded by :: shutdown57
- ## copyright (c) 2018
- merah="\033[1;31m"
- kunig="\033[1;33m"
- hijau="\033[1;32m"
- biru="\033[1;34m"
- cyan="\033[0;36m"
- hapud="\033[0m"
- putij="\033[37m"
- clear
- echo -e " $putij ??? $hapud "
- echo -e " $putij ????? $hapud "
- echo -e " $putij ??? $hapud "
- echo -e $putij" ??????????$merah ????????????????? "$hapud
- echo -e $putij" ??????????$merah ????????????????? "$hapud
- echo -e $putij" ???? $merah ???? ???? "$hapud
- echo -e $putij" ???? $merah ???? ???? "$hapud
- echo -e $putij" ???? $merah ???? ???? "$hapud
- echo -e $putij" ???? $merah ???? ???? "$hapud
- echo -e $merah" ???? "$hapud
- echo -e $merah" ???? "$hapud
- echo -e $merah" ???? ???? ???? "$hapud
- echo -e $merah" ???? ???? ???? "$hapud
- echo -e $merah" ???? ???? ???? "$hapud
- echo -e $merah" ???? ???? ???? "$hapud
- echo -e $merah" ?????????????????????????????? "
- echo -e $merah" ?????????????????????????????? "
- echo ""
- echo -e $kunig" [ JavCode (c) 2018 | coded by : shutdown57 ] "$hapud
- echo -e $hijau" =[ Instagram photo downloader by username ]="$hapud
- echo ""
- echo -n " [ username ] ::"; read uname
- echo ""
- echo -e $biru"[!]$hapud Checking username $uname ... "
- echo ""
- cek=$(curl -s "https://www.instagram.com/${uname}/")
- if [[ $cek =~ 'The link you followed may be broken, or the page may have been removed.' ]]; then
- echo -e $merah"[-]$hapud [ $uname ] NOT FOUND!"
- exit
- elif [[ ${cek} =~ 'is_private": true' ]]; then
- echo -e $merah"[-]$hapud [ $uname ] PRIVATE ACCOUNT "
- exit
- else
- echo -e $hijau"[+]$hapud [ $uname ] FOUND !"
- fi
- echo ""
- getData=$(curl -s https://www.instagram.com/${uname}/ | grep -Po '(?<="display_url":")[^",]*')
- echo $getData >> list_link.temp3x
- echo -e $biru"[!]$hapud DOWNLOADING IN PROCCESS ...."
- sleep 1
- dir=ig_${uname}_jc
- mkdir -p $dir
- num=1
- for dl in $(cat list_link.temp3x)
- do
- echo -e -n $biru"[!]$hapud $dl ... "
- filename=$dir/${uname}_$((num++)).jpg
- wget $dl -O $filename > /dev/null 2>&1
- if [[ -f $filename ]]; then
- echo -e $hijau"[OK]"$hapud
- else
- echo -e $merah"[ERROR]"$hapud
- fi
- done
- echo -e "[$hijau File saved to $kunig $dir $hapud ]"
- echo -e "Thx."
- rm list_link.temp3x
Add Comment
Please, Sign In to add comment