remove unnecessary print

pull/564/head
SinecKers 2 years ago
parent b43c32413f
commit 84bd523ed2

@ -91,7 +91,6 @@ def download_screenshots_of_reddit_posts(reddit_object, screenshot_num):
if getenv("POSTLANG"): if getenv("POSTLANG"):
comment_tl = ts.google(comment["comment_body"], to_language=os.getenv("POSTLANG")) comment_tl = ts.google(comment["comment_body"], to_language=os.getenv("POSTLANG"))
print_substep("comment_tl: " + comment_tl)
page.evaluate( page.evaluate(
'([tl_content, tl_id]) => document.querySelector(`#t1_${tl_id} > div:nth-child(2) > div > div[data-testid="comment"] > div`).textContent = tl_content', [comment_tl, comment['comment_id']] '([tl_content, tl_id]) => document.querySelector(`#t1_${tl_id} > div:nth-child(2) > div > div[data-testid="comment"] > div`).textContent = tl_content', [comment_tl, comment['comment_id']]
) )

Loading…
Cancel
Save