Tuesday, July 17, 2012

Download Picasa Album

If your friend has shared pics on picasa or google plus and you want to download the complete album, follow the following steps:
1. Go to the album page
2. Right click in the middle
3. Click on "View Source"
4. Save the contents in a file named as a on the desktop
5. Open the terminal
6. Type in the following command
cat ~/Desktop/a | grep DSCN > b ; cat b | sed 's/"/\n/g' | grep DSCN | grep http | grep s0- > d; rm ~/Desktop/a b
7. Now download the pics in the file d
wget -c --input-file=d
8. If the download pauses, you need to type the command in step 7 only.

Have fun.


Added later:

shorter version:
cat a  | grep s0- | sed 's/"/\n/g' | grep http > b

No comments:

Post a Comment