Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Jason committed 2022-07-01 17:59:04 -04:00
commit a719cfcc70
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -3,10 +3,10 @@ botocore==1.27.12
gTTS==2.2.4
moviepy==1.0.3
mutagen==1.45.1
playwright==1.22.0
playwright==1.23.0
praw==7.6.0
python-dotenv==0.20.0
pytube==12.1.0
requests==2.28.0
requests==2.28.1
rich==12.4.4
translators==5.2.2
+2 -2
View File
@@ -82,8 +82,8 @@ def download_screenshots_of_reddit_posts(reddit_object: dict[str], screenshot_nu
path="assets/temp/png/story_content.png"
)
else:
for idx, comment in track(
enumerate(reddit_object["comments"]), "Downloading screenshots..."
for idx, comment in enumerate(
track(reddit_object["comments"], "Downloading screenshots...")
):
# Stop if we have reached the screenshot_num
if idx >= screenshot_num: