-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not trust the API's 'posts' and 'liked_count' fields
These fields are incorrect in cases such as private posts changed to public, and this leads to missed posts when backing up blogs. For example, create a blog with one private post and one public one, then publish the private post. tumblr_backup.py will only download one of the two now-public posts without this patch. This change also skips only a single post rather than an entire batch upon parse failures, in a further attempt to avoid dropping posts unnecessarily.
- Loading branch information
Showing
1 changed file
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters