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

Update instead of full download #6

Open
waszpaw opened this issue Oct 22, 2020 · 1 comment
Open

Update instead of full download #6

waszpaw opened this issue Oct 22, 2020 · 1 comment

Comments

@waszpaw
Copy link

waszpaw commented Oct 22, 2020

Hi there. First - thanks for the script, useful.
Idea - would it be possible to add a flag / function to only check changes (as in rsync) instead of redownloading all the stuff? At first I though that's its default behavior but now I see it goes around again.
Thanks!

@andyjsmith
Copy link
Owner

It does loop through every image each time but it doesn't download already saved images, it just sees that it's already saved and skips to the next one, that's what this line does: https://github.com/andyjsmith/SmugMug-Downloader/blob/master/smdl.py#L102
However I do agree the resume functionality could be improved by skipping directly to the next file rather than going through everything again, I just don't have any free time to implement that. I'll keep this open, feel free to submit a PR if you or someone else want to make the change, could probably just add a resume.txt file that's updated with the last saved image or album.

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

No branches or pull requests

2 participants