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

pull/790/head
Jason 2 years ago
commit a719cfcc70

@ -3,10 +3,10 @@ botocore==1.27.12
gTTS==2.2.4 gTTS==2.2.4
moviepy==1.0.3 moviepy==1.0.3
mutagen==1.45.1 mutagen==1.45.1
playwright==1.22.0 playwright==1.23.0
praw==7.6.0 praw==7.6.0
python-dotenv==0.20.0 python-dotenv==0.20.0
pytube==12.1.0 pytube==12.1.0
requests==2.28.0 requests==2.28.1
rich==12.4.4 rich==12.4.4
translators==5.2.2 translators==5.2.2

@ -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:

Loading…
Cancel
Save