Merge pull request #1001 from RiveN000/develop

Fix: Hide the "Click to see NSFW" button
This commit is contained in:
Jason authored and GitHub committed 2022-07-15 15:03:26 -04:00
commit 429881eb55
1 file changed
+1
+1
View File
@@ -49,6 +49,7 @@ def download_screenshots_of_reddit_posts(reddit_object: dict, screenshot_num: in
print_substep("Post is NSFW. You are spicy...")
page.locator('[data-testid="content-gate"] button').click()
page.wait_for_load_state() # Wait for page to fully load
if page.locator('[data-click-id="text"] button').is_visible():
page.locator(