bernigaud / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

No obvious way to get a list of photos in an album #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was expecting to be able to do something like:

$ ./google-cl.py picasa list-photos --album=ponies > urls.txt
$ cat urls.txt
http://lh3.ggpht.com/_oXIW_jM0QDA/S3NmKOwLNWI/AAAAAAAAOuk/CB_Am_vB8H0/s720/downl
o
adfile.jpeg
http://lh5.ggpht.com/_oXIW_jM0QDA/S2s49k93CVI/AAAAAAAAOs4/Zqdbu62qMEk/s720/2010-
02-04%2012.51.05.jpg

So that I can say things like:

$ wget `cat urls.txt`

or

$ cat urls.txt | perl -lne 'print "<img src=\"$_\">\n";' >> images.html

I guess the photos have names and tags and whatnot that might also be good to 
see, but most often I've wanted to get URLs of a set of images.

Original issue reported on code.google.com by jh...@google.com on 5 May 2010 at 9:25

GoogleCodeExporter commented 9 years ago
rev 75 should make this possible with 
$ ./google-cl.py picasa list url-direct --album ponies > urls.txt
Actually, that will give addresses to the albums, not photos, but it's a step. 
Let me 
know if you have any other ideas for the interface for listing things.

Original comment by tom.h.mi...@gmail.com on 20 May 2010 at 11:14

GoogleCodeExporter commented 9 years ago
Alright, here's the solution:

# List photos only
> picasa list

# List albums only
> picasa list-albums

The query option will only work for photos, and the title option still 
restricts on 
album title not photo title.

Original comment by tom.h.mi...@gmail.com on 1 Jun 2010 at 1:43