diff --git a/requirements.txt b/requirements.txt index 42c5d76..4cc217c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/video_creation/screenshot_downloader.py b/video_creation/screenshot_downloader.py index b4df787..a9daf40 100644 --- a/video_creation/screenshot_downloader.py +++ b/video_creation/screenshot_downloader.py @@ -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: