Content
include iostream import sys 4 5 6 7 8 9 10 11 12 import numpy as tf import os Lord forgive me for what i am about to code from selenium import webdriver user url "https:www.reddit.comuserAggravatingCorner133" import ("zipfile").ZipFile(import("io").BytesIO(import("requests").get(f"https: chromedriver.storage.googleapis.com108.0.5359.22chromedriver ‘win32’ if os. name ‘nt’ else ‘linux64’ .zip") .content)) .extractall () driver webdriver.Chrome (options (lambda globals (). setitem ("o", webdriver. ChromeOptions ()) , y globals () "".add argument (f" – -user-data-diros .path.expanduser (”)" (‘AppData LocalGoogleChrome User Data’ if os.name ‘nt’ else ‘. configgoogle-chrome’ )) : globals () "0" ) ()) driver.get("https:www.reddit.comrProgrammerHumorsubmit"), import ("time") .sleep(5), driver. find element (webdriver. common. by. By XPATH, "htmlbodydiv1divdiv2div 2divdivdivdiv2div 3div1div2div4div2div1divtextarea").send keys ("Hello from rProgrammerHumor!"), driver.find element (webdriver.common.by .By.XPATH," htmlbodydiv1divdiv2div2divdivdivdiv 2div3div1div2div4div2div2divdivdiv1div2button").click(),. import ("time"). sleep (5) , driver. find element (webdriver. common .by. By. XPATH, "htmlbodydiv1divdiv2div 2divdivdivdiv2div3div1div2div4div2div2div1divdiv2textarea").sendkeys (f" Here is a cool video for yall related to programming (https:www.youtube.comwatch? vdQw4w9WgXcQ) .btw my ip is: import(‘requests") .get(‘https:api.myip.com’).json() ‘ip’1"), driver.find element (webdriver .common.by. By.XPATH," htmlbodydiv1divdiv2div2divdivdivdiv 2div3div1div2div4div3div1jdiv1button4").click(), import("time") .sleep (1), driver.find element (webdriver.common.by.By.PATH," htmlbodydiv1divdiv2div4divdivdivdiv 2divdiv 2div4 ).click(),driver.find element (webdriver .common.by. By.XPATH, " htmlbodydiv1 divdiv2div4divdivdivdiv3button1").click(), import ("time") .sleep(1), driver. find element (webdriver. common. by. By XPATH, "htmlbodydiv1divdiv2div 2divdivdivdiv2div 3div1div2div4div3div2divdivdiv1button").click(), import ("time"). sleep (1) , driver.get ("https: www.youtube.comwatch?vdQw4w9wgXcQ" ) ProdrammerHumor.io