Merge branch 'master' of https://github.com/piair338/MsReward
This commit is contained in:
commit
aa7bfa500f
4
V4.py
4
V4.py
|
@ -422,7 +422,7 @@ def login() :
|
||||||
|
|
||||||
|
|
||||||
def BingPcSearch(override = randint(35,40)):
|
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))
|
CustomSleep(uniform(1,2))
|
||||||
RGPD()
|
RGPD()
|
||||||
send_keys_wait( driver.find_element(By.ID, 'sb_form_q'),Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE)
|
send_keys_wait( driver.find_element(By.ID, 'sb_form_q'),Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE)
|
||||||
|
@ -469,7 +469,7 @@ def BingMobileSearch(override = randint(22,25)):
|
||||||
def Mlogin(echec):
|
def Mlogin(echec):
|
||||||
|
|
||||||
try :
|
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))
|
CustomSleep(uniform(3,5))
|
||||||
|
|
||||||
MobileDriver.find_element(By.ID, 'mHamburger').click()
|
MobileDriver.find_element(By.ID, 'mHamburger').click()
|
||||||
|
|
Loading…
Reference in New Issue