return to single page
This commit is contained in:
parent
3c9973e1e7
commit
7b8af45c0b
2
main.py
2
main.py
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user