fixes title query
@ -174,7 +174,7 @@ def get_screenshots_of_reddit_posts(reddit_object: dict, screenshot_num: int):
)
page.evaluate(
"tl_content => document.querySelector('[data-test-id=\"post-content\"] > div:nth-child(3) > div > div').textContent = tl_content",
"tl_content => document.querySelector('[data-adclicklocation=\"title\"] > div > div > h1').textContent = tl_content",
texts_in_tl,
else: