remove unnecessary print
This commit is contained in:
1 parent
b43c32413f
commit
84bd523ed2
1 file changed
-1
@@ -91,7 +91,6 @@ def download_screenshots_of_reddit_posts(reddit_object, screenshot_num):
|
||||
|
||||
if getenv("POSTLANG"):
|
||||
comment_tl = ts.google(comment["comment_body"], to_language=os.getenv("POSTLANG"))
|
||||
print_substep("comment_tl: " + comment_tl)
|
||||
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']]
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user