|
|
@ -82,8 +82,8 @@ def download_screenshots_of_reddit_posts(reddit_object: dict[str], screenshot_nu
|
|
|
|
path="assets/temp/png/story_content.png"
|
|
|
|
path="assets/temp/png/story_content.png"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
for idx, comment in track(
|
|
|
|
for idx, comment in enumerate(
|
|
|
|
enumerate(reddit_object["comments"]), "Downloading screenshots..."
|
|
|
|
track(reddit_object["comments"], "Downloading screenshots...")
|
|
|
|
):
|
|
|
|
):
|
|
|
|
# Stop if we have reached the screenshot_num
|
|
|
|
# Stop if we have reached the screenshot_num
|
|
|
|
if idx >= screenshot_num:
|
|
|
|
if idx >= screenshot_num:
|
|
|
|