Closed vladak closed 3 years ago
The sorting of the files in the album would have to be adapted - currently it is done before the upload. https://www.flickr.com/services/api/flickr.photosets.reorderPhotos.html would do the job it seems.
multiprocessing
pool cannot be used because bar
cannot be pickled. concurrent.future
feels better anyway.
When uploading a large set of files, there is often a pause between individual files in terms of network bandwidth, likely because the API is processing the file. To speed the overall process, there could be a pool of workers, each uploading one file at a time. Perhaps the workers can each have a sleep period initially to create sort of pipeline effect.