From 4dfc729fda5c37b92ddf028c18e9574842da1ede Mon Sep 17 00:00:00 2001 From: "Mohamed B." Date: Tue, 24 Sep 2024 16:03:12 +0200 Subject: [PATCH] Update screenshot_downloader.py forget to remove a text from screenshot --- video_creation/screenshot_downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video_creation/screenshot_downloader.py b/video_creation/screenshot_downloader.py index fb86b2a..8393345 100644 --- a/video_creation/screenshot_downloader.py +++ b/video_creation/screenshot_downloader.py @@ -270,7 +270,7 @@ def get_screenshots_of_reddit_posts(reddit_object: dict, screenshot_num: int): # Take a screenshot of the parent element with the adjusted height page.screenshot( clip=location, - path=f"assets/temp/{reddit_id}/png/comment_{idx}_parent.png", + path=f"assets/temp/{reddit_id}/png/comment_{idx}.png", ) else: print("Could not get the bounding box of the parent element.")