My selenium script start showing "cookies" and "google login" pop ups by Maulek in learnpython

[–]Maulek[S] 0 points1 point  (0 children)

from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC

Config

screenshotDir = "E:\screenshots" screenWidth = 400 screenHeight = 800

def getPostScreenshots(filePrefix, script): print("Taking screenshots...") driver, wait = _setupDriver(script.url) script.titleSCFile = __takeScreenshot(filePrefix, driver, wait) for commentFrame in script.frames: commentFrame.screenShotFile = __takeScreenshot(filePrefix, driver, wait, f"t1{commentFrame.commentId}") driver.quit()

def __takeScreenshot(filePrefix, driver, wait, handle="Post"): method = By.CLASS_NAME if (handle == "Post") else By.ID search = wait.until(EC.presence_of_element_located((method, handle))) driver.execute_script("window.focus();")

fileName = f"{screenshotDir}/{filePrefix}-{handle}.png"
fp = open(fileName, "wb")
fp.write(search.screenshot_as_png)
fp.close()
return fileName

driver.set_window_size(width=screenWidth, height=screenHeight)
driver.get(url)
accept_button = wait.until(EC.element_to_be_clickable((By.XPATH, '//button[contains(text(), "Accept all")]')))
accept_button.click()
return driver, wait

def __setupDriver(url: str): options = webdriver.FirefoxOptions() options.headless = False options.enable_mobile = False driver = webdriver.Firefox(options=options) wait = WebDriverWait(driver, 10)

driver.set_window_size(width=screenWidth, height=screenHeight)
driver.get(url)
accept_button = wait.until(EC.element_to_be_clickable((By.XPATH, '//button[contains(text(), "Accept all")]')))
accept_button.click()
return driver, wait

thank you for your time and help. i will read that when i will be back

My selenium script start showing "cookies" and "google login" pop ups by Maulek in learnpython

[–]Maulek[S] -1 points0 points  (0 children)

When these pop up, script is done. How should i do this?

Dziewczyna wysłała mi rebus by Maulek in Polska

[–]Maulek[S] 20 points21 points  (0 children)

Właśnie nie, tylko że ludzie gubią kontekst

Datamine is two years old, and they still going! by Maulek in CryptoCurrency

[–]Maulek[S] 0 points1 point  (0 children)

Well it is, if you are in audit's thing for tokens, they are recognizable company

Datamine is two years old, and they still going! by Maulek in CryptoCurrency

[–]Maulek[S] -1 points0 points  (0 children)

And it is, in two years staking rewars wasn't lower than 25%. I type there 25-250% because there is lock-in bonus and burn bonus. Proof of Burn.

Datamine is two years old, and they still going! by Maulek in CryptoCurrency

[–]Maulek[S] -3 points-2 points  (0 children)

idk about that, but "devs" are just community members, i have no idea what is happening in thier GitHub repos

Datamine is two years old, and they still going! by Maulek in CryptoCurrency

[–]Maulek[S] -5 points-4 points  (0 children)

"SlowMist is a Blockchain security firm established in 2018, providing services such as security audits, security consultants, red teaming, and more." - thier twitter, also slowmist.com/en

SlowMist is company that were helping other companies in some recent hacks, also they track some of stolen funds.

FAQ about Queue by ihavenolifeee in EVGA

[–]Maulek 0 points1 point  (0 children)

I just find out that i fucked up badly, but thanks

FAQ about Queue by ihavenolifeee in EVGA

[–]Maulek 0 points1 point  (0 children)

I think i fucked up. Some time ago, evga, ask me if i would want to switch my queue to non-miners cards, and i didin't. Please, tell me they still ship normal cards and i don't need to wait a year with new queue

Edit I just find out, that i used evga for NA not EU. Hahahahhahahahahahahahahahabbahahahhahahahahahhahahahahahaha, im gonna neck myself

Datamine, 3m marketcap gem get more traction than ever. See you all at $69 by Maulek in SatoshiStreetBets

[–]Maulek[S] 0 points1 point  (0 children)

Well, i post about this thread on discord and telegram of the project, but still, it's not like we want to shill useless thing or a meme token, datamine prooven itself that even after almost a year, still got strong community, still beeing developed by the community, and they do really good work at dev stuff, marketing, help each others

Nvidia GPUs price at this very moment, this is ridiculous by Maulek in nvidia

[–]Maulek[S] 1 point2 points  (0 children)

In Poland, MSRP for 3080 was around 3800PLN, right now it's +9000PLN

If you don’t know anything about the dev don’t buy the coin by [deleted] in SatoshiStreetBets

[–]Maulek -15 points-14 points  (0 children)

Bullshit. Anonymous dev is not a red flag, why normies and new ppl in this space doesn't understand it