Skip to content

Commit

Permalink
feat: pages=3
Browse files Browse the repository at this point in the history
  • Loading branch information
dhohirpradana authored Mar 6, 2023
1 parent a9cd07d commit 9ac552e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
g_hashtags = g[2]

try:
posts = get_posts(pages=1, group=g_id, sleep=5)
posts = get_posts(pages=3, group=g_id, sleep=5)

for i, post in enumerate(posts):
image = post['image']
Expand All @@ -96,7 +96,7 @@
p_hashtags = p[2]

try:
posts = get_posts(p_id, pages=1, sleep=5)
posts = get_posts(p_id, pages=3, sleep=5)

for i, post in enumerate(posts):
image = post['image']
Expand All @@ -117,7 +117,7 @@
search = "science"

try:
posts = get_posts_by_search(search, pages=1, sleep=5)
posts = get_posts_by_search(search, pages=3, sleep=5)

for i, post in enumerate(posts):
image = post['image']
Expand Down

0 comments on commit 9ac552e

Please sign in to comment.