Skip to content

Instantly share code, notes, and snippets.

@dardo82
Last active December 2, 2019 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dardo82/b6e3f998b87ef87a0dbe13f60283e987 to your computer and use it in GitHub Desktop.
Save dardo82/b6e3f998b87ef87a0dbe13f60283e987 to your computer and use it in GitHub Desktop.
InstaGram DLer
#!/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 @
#!/bin/sh
# InstaGram TV downloader
chrome-cli source | gawk -v RS='[<>]' '/\.mp4/' | tr '\n' ' ' | cut -d' ' -f1,3 \
| sed 's:\\/:/:g;s:\&amp\;:\&:g;s: :" -i ":;s:^:ffmpeg -i ":;s:$:" -c copy '$1'.mp4:' | sh
@dardo82
Copy link
Author

dardo82 commented Nov 25, 2019

curl —remote-name-all $(curl -s https://www.instagram.com/$1/|grep jpg|tr \" \\n|grep jpg|grep -v 0x|cut -d? -f1)

@dardo82
Copy link
Author

dardo82 commented Dec 2, 2019

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