Last active
December 2, 2019 17:03
-
-
Save dardo82/b6e3f998b87ef87a0dbe13f60283e987 to your computer and use it in GitHub Desktop.
InstaGram DLer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Download all the photos of an instagram user, even if he/she has blocked you. | |
open "http://www.picbear.com/$1/";JS="document.body.innerHTML" | |
SCPT="'tell application \"Safari\" to do JavaScript \"$JS\" in front document'" | |
echo "Scroll to the bottom of the page and press Return.";read | |
eval osascript -e $SCPT|awk -v RS=\" '/_n.jpg$/{print $1}'|xargs -I @ curl -O @ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# InstaGram TV downloader | |
chrome-cli source | gawk -v RS='[<>]' '/\.mp4/' | tr '\n' ' ' | cut -d' ' -f1,3 \ | |
| sed 's:\\/:/:g;s:\&\;:\&:g;s: :" -i ":;s:^:ffmpeg -i ":;s:$:" -c copy '$1'.mp4:' | sh |
http://www.ustream.tv/embed/9959561
curl -v $(curl -v $( chrome-cli source | grep m3u8 | sed 's/amp;//g;q') | grep m3u8) | grep ts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl —remote-name-all $(curl -s https://www.instagram.com/$1/|grep jpg|tr \" \\n|grep jpg|grep -v 0x|cut -d? -f1)