Re: Issue 4 in flickrpy: flickr.py does not return number of

1 view
Skip to first unread message

flic...@googlecode.com

unread,
Apr 6, 2013, 9:35:03 AM4/6/13
to flickrp...@googlegroups.com
Updates:
Status: Fixed

Comment #5 on issue 4 by jims...@gmail.com: flickr.py does not return
number of
http://code.google.com/p/flickrpy/issues/detail?id=4

The following code should work as intended:

per_page = 100
page = 1
while True:
photos = flickr.photos_search(tags="fairhope
alabama",per_page=per_page,page=page)
if not len(photos):
break
print "page: ", page
print photos
print "length: ", len(photos)
page += 1


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages