salimoha / googlecl

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

Googlecl Picasa url-direct is not working? #319

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
command:
google picasa list -n "DocWiki" --query "test" title,url-direct
output:
Jackie_Chen.jpg,http://picasaweb.google.com/KanKaqi/DocWiki#5533173916280662290
Jackie.Chen.jpg,http://picasaweb.google.com/KanKaqi/DocWiki#5533161153945689314

DocWiki is the name of my album, I have 2 pics tagged as "test"
What I want is the direct image links like:
http://lh6.ggpht.com/_jNHTXRDIQwU/TMm8wOnsXOI/AAAAAAAAAWY/1EnN8f2Iwck/s800/Jacki
e.Chen.jpg

I am using googlecl-0.9.11.tar.gz with gdata-2.0.12.tar.gz on CentOS 5.5
I have tried
google picasa list -n "DocWiki" --query "test" title,url-site
google picasa list -n "DocWiki" --query "test" title,url
All give the same result.
Here it says:http://code.google.com/p/googlecl/wiki/Manual
The difference between 'url-site' and 'url-direct' is best exemplified by a 
picasa photo: 'url-site' gives a link to the photo in the user's album, 
'url-direct' gives a link to the image url.

Original issue reported on code.google.com by KanK...@gmail.com on 28 Oct 2010 at 7:21

GoogleCodeExporter commented 9 years ago
Try putting --fields before title,url-direct.

0.9.11 introduced some backwards incompatible syntax, and "title,url-direct" is 
being interpreted as an additional title that you want to filter on. 
http://code.google.com/p/googlecl/wiki/Manual#Options describes an example.

Have you been using GoogleCL in the past, or did you read some incorrect 
documentation somewhere?

Original comment by thmil...@google.com on 28 Oct 2010 at 7:29

GoogleCodeExporter commented 9 years ago
Thanks a lot!It works now!
I have read it from 
http://datacharmer.blogspot.com/2010/06/welcome-googlecl.html
I should have read the manual more carefully.:)

Original comment by KanK...@gmail.com on 28 Oct 2010 at 7:36

GoogleCodeExporter commented 9 years ago
Great! And don't worry, I rarely read manuals myself.

Original comment by tom.h.mi...@gmail.com on 28 Oct 2010 at 7:40