Created
June 6, 2013 15:47
-
-
Save placidorevilla/5722572 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -uNr googlecl-0.9.13.orig/src/googlecl/picasa/service.py googlecl-0.9.13.new/src/googlecl/picasa/service.py | |
--- googlecl-0.9.13.orig/src/googlecl/picasa/service.py 2011-03-26 03:03:35.000000000 +0100 | |
+++ googlecl-0.9.13.new/src/googlecl/picasa/service.py 2013-06-06 17:42:26.521465995 +0200 | |
@@ -105,10 +105,10 @@ | |
if photo_title or query or force_photos: | |
uri = '/data/feed/api/user/' + user | |
if query and not album_entry: | |
- entries = self.GetEntries(uri + '?kind=photo&q=' + query, photo_title) | |
+ entries = self.GetEntries(uri + '?kind=photo&imgmax=d&q=' + query, photo_title) | |
else: | |
entries = [] | |
- uri += '/albumid/%s?kind=photo' | |
+ uri += '/albumid/%s?kind=photo&imgmax=d' | |
if query: | |
uri += '&q=' + query | |
for album in album_entry: | |
@@ -215,7 +215,7 @@ | |
album_concat += 1 | |
os.makedirs(album_path) | |
- uri = ('/data/feed/api/user/%s/albumid/%s?kind=photo' % | |
+ uri = ('/data/feed/api/user/%s/albumid/%s?kind=photo&imgmax=d' % | |
(user, album.gphoto_id.text)) | |
photo_entries = self.GetEntries(uri, photo_title) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment