return to single page

This commit is contained in:
bakatrouble 2023-11-03 14:28:48 +03:00
parent 3c9973e1e7
commit 7b8af45c0b

View File

@ -123,7 +123,7 @@ async def check_updates():
tags = ' '.join(f'~{tag}' for tag in tag_list[tl_idx: tl_idx + 40]) tags = ' '.join(f'~{tag}' for tag in tag_list[tl_idx: tl_idx + 40])
logging.warning(tags) logging.warning(tags)
posts = [] posts = []
for page in range(1, 11): for page in range(1, 2):
posts.extend(await e621.get_posts(tags, page)) posts.extend(await e621.get_posts(tags, page))
if not posts: if not posts:
return return