Closed WyohKnott closed 10 years ago
In the new code
if count != MAX_POSTS:
params['num'] = count
So if count = 50 or a multiple of 50, params['num'] = count is ignored and therefore the API default is used, i.e. 20. It probably should be:
if count <= MAX_POSTS:
params['num'] = count
Hello,
Since the merge of gh-13, I have found a new bug:
It seems each time the script hits a multiple of 50, it only saves 20 posts.
I thought it was from the enhancements I've proposed, but the culprit seems to be located in this commit https://github.com/bbolli/tumblr-utils/commit/ae72b60bb37c50f60a6a10c906049aa23d04193d :