reluce / szurubooru-toolkit

Python package and script collection to manage your szurubooru image board.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing from booru skips 100 posts when limit is above 100

Nota-Nom opened this issue · comments

The function get_posts_from_booru in utils.py skips a page of posts. Starting the range at 0 in the for loop seems to fix this.
Edit: Although this fixed this issue I was having, it tried to import posts twice in some cases.

for page in range(1, pages_needed + 1):

Should be fixed in 1.0.0.