This commit is contained in:
piair 2022-02-18 20:47:21 +01:00
parent 9b7b9f51e4
commit e835d40d99

4
V4.py
View File

@ -413,7 +413,7 @@ def login() :
def BingPcSearch(override = randint(35,40)):
driver.get(f'https://www.bing.com/search?q={choice(Liste_de_mot)}')
driver.get(f'https://www.bing.com/search?q=test')#{choice(Liste_de_mot)}')
CustomSleep(uniform(1,2))
RGPD()
send_keys_wait( driver.find_element(By.ID, 'sb_form_q'),Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE)
@ -460,7 +460,7 @@ def BingMobileSearch(override = randint(22,25)):
def Mlogin(echec):
try :
MobileDriver.get(f'https://www.bing.com/search?q={choice([Liste_de_mot])}')
MobileDriver.get(f'https://www.bing.com/search?q=test')#{choice([Liste_de_mot])}')
CustomSleep(uniform(3,5))
MobileDriver.find_element(By.ID, 'mHamburger').click()