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

Added commit mode #139

Merged
merged 3 commits into from
Dec 13, 2018
Merged

Added commit mode #139

merged 3 commits into from
Dec 13, 2018

Commits on Dec 9, 2018

  1. Added commit mode

    The commit mode ensures pictures are not corrupted when Instaloader is
    unexpectedly interrupted. In the case that the last picture is corrupted
    because of an interruption, Instaloader will redownload the picture.
    Since the metadata is the last object saved to disk, we can consider a
    post as "committed" if its json metadata file exists and is not
    malformed. Instaloader should download any posts which are not
    committed. Downside is commit mode requires metadata to be saved.
    sushilicious committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    30555b5 View commit details
    Browse the repository at this point in the history
  2. Just in case, check whether picture exists for commit

    This is in addition to the other commit logic.
    sushilicious committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    e753406 View commit details
    Browse the repository at this point in the history
  3. Added _committed to __init__ to make pylint shut up

    sushilicious committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    ffda226 View commit details
    Browse the repository at this point in the history