Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize downloading photosets #64

Open
beaufour opened this issue Sep 27, 2022 · 0 comments
Open

Optimize downloading photosets #64

beaufour opened this issue Sep 27, 2022 · 0 comments

Comments

@beaufour
Copy link
Owner

Currently when downloading photosets, we do a PhotoSet.getInfo() and a PhotoSet.getPhotos(), and then for each photo a Photo.getInfo() and a Photo.getSizes(). If you call PhotoSet.GetPhotos() with a bunch of extras parameters we'd have just about all the metadata needed to download all the photos, and we could save all the Photo.* calls. It's a bit of a major incision into the flickr API library though as it expects the Photo class to do calls to get its metadata, and the size and save operations needs calls too. But maybe a custom Photo class could work here. It would speed up things quite a bit. Especially as the Flickr API is a bit slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant