Jan 15
It uses somewhat buggy but excellent flickrpy module by James Clarke — works well for me after some small adjustments:
def main():
flickr.API_KEY = constants.API_KEY
flickr.API_SECRET = constants.API_SECRET
u = flickr.User(id = '92002612@N00')
sets = u.getPhotosets()
for ps in sets:
name = ps.title
name = name.replace('"', "'").replace("/", "_")
folderName = "/Users/kirillov/Pictures/Flickr/%s" % name
if os.path.exists(folderName):
print("Path exists, skipping: %s" % folderName )
continue
photos = ps.getPhotos()
os.mkdir(folderName)
i = 0
for i,p in enumerate(photos):
src = p.getSizes()[-1]['source']
photoname = p.getTitle().replace("/", "_")
fname = '/Users/kirillov/Pictures/Flickr/%s/%s-%d.jpg' % (name, photoname, i)
data = u2.urlopen(src).read()
open(fname, 'w').write(data)
print('%s => "/Users/kirillov/Pictures/Flickr/%s/%s-%d.jpg"' % (src,name, photoname, i))
Upd: fixed and updated version posted.
Oct 25
Decided to have a short walk today – before diving in into studying. It was good :)
Oct 21
At the moment of writing all these unbelievable colours are already gone :) Too bad it didn't last for long.
R.
Oct 1
Here we're - it's pretty quite here right now but things will get hotter soon!
Sep 26
I really love this place – probably, one of my most favourite here in London. Well, not only here and not only in London – just take a look yourself.
Sep 15
I bet you're surprised I do not look as smart as the rest of the guests (and not even nearly as smart as my beautiful wife). Well, that's because I've been the most miserable person there – namely photographer, and spend the whole day jumping around with the camera (with two cameras, in fact), so at 12AM when guests were enjoying the Spanish wine and truly delicious food from the hotel's restaurant, I fought myself to not fall asleep right where I was sitting.
Aug 29
The red spot on the right is, obviously, the Microsoft's IntelliMouse.
Aug 29
Yep, my sister indeed is in London. And she's doing pretty well, you see!
We had a nice walk down the London streets – from Soho to Hyde Park, via Piccadilly and Green Park, photographing everywhere within our reach and behaving like a real, natural tourists!