From 0a9afa9dfad612dea12388c91ddc8b460f1fc0e1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 10:52:49 +0000 Subject: [PATCH 1/3] Bump requests from 2.28.0 to 2.28.1 Bumps [requests](https://github.com/psf/requests) from 2.28.0 to 2.28.1. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.28.0...v2.28.1) --- updated-dependencies: - dependency-name: requests dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 490b0c1..63e122c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ playwright==1.22.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 sox==1.4.1 From 0598b8f12b840efd32e8654abfffd70019ccaa28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Jul 2022 11:08:21 +0000 Subject: [PATCH 2/3] Bump playwright from 1.22.0 to 1.23.0 Bumps [playwright](https://github.com/Microsoft/playwright-python) from 1.22.0 to 1.23.0. - [Release notes](https://github.com/Microsoft/playwright-python/releases) - [Commits](https://github.com/Microsoft/playwright-python/compare/v1.22.0...v1.23.0) --- updated-dependencies: - dependency-name: playwright dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 63e122c..66851c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ 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 From 8dc892d1b5299b0344c00a269010017079522c53 Mon Sep 17 00:00:00 2001 From: CordlessCoder <42666308+CordlessCoder@users.noreply.github.com> Date: Sat, 2 Jul 2022 00:29:48 +0300 Subject: [PATCH 3/3] fix track(enumerate()) order --- video_creation/screenshot_downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video_creation/screenshot_downloader.py b/video_creation/screenshot_downloader.py index 6147dff..fe9865c 100644 --- a/video_creation/screenshot_downloader.py +++ b/video_creation/screenshot_downloader.py @@ -57,8 +57,8 @@ def download_screenshots_of_reddit_posts(reddit_object, screenshot_num): 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