Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- url="https://photos.google.com/share/AF1QipNu_k1gIYsf20zcNxgl3IpsdeRCUJ5mhZSNi-AQTJh02wyxflNipRmtrNsyjjtRhg?key=T0s0WGlISUh0ckE1LVBlQzJXdV9TcXIyQWpmQWt3"
- output="1.html"
- echo "Retrieving photo list..."
- wget -q "$url" -O-|\
- sed 's/"/\n/g'|\
- grep -v '/a/'|\
- grep -i "lh3"|\
- sort -u|grep "^http"|\
- while read url;
- do
- echo "<img src='$url'>";
- done > $output
- echo "$output created."
Add Comment
Please, Sign In to add comment