Merge pull request #1001 from RiveN000/develop

Fix: Hide the "Click to see NSFW" button
pull/1030/head
Jason 2 years ago committed by GitHub
commit 429881eb55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save