HOW TO ENABLE MOBILE PLS

This commit is contained in:
piair 2023-06-22 19:20:32 +02:00
parent 8694c4d30b
commit d96ec5891f
2 changed files with 10 additions and 10 deletions

13
V6.py
View File

@ -303,6 +303,11 @@ def promo():
break break
if i > 3 : if i > 3 :
log_error("plus de 3 promo cards, probablement une pa skipable", driver) log_error("plus de 3 promo cards, probablement une pa skipable", driver)
try :
driver.find_element(By.CSS_SELECTOR, 'a[class="mee-icon pull-left icon mee-icon-Cancel ng-scope"]').click()
except Exception as e:
log_error(f"can't click to close : {e}")
return()
try : try :
elm.click() elm.click()
except Exception as e: except Exception as e:
@ -744,10 +749,10 @@ def daily_routine(custom = False):
except Exception as e: except Exception as e:
log_error(e) log_error(e)
try: #try:
bing_mobile_search() # bing_mobile_search()
except Exception as e: #except Exception as e:
log_error(e) # log_error(e)
try: try:
log_points(g._mail) log_points(g._mail)

View File

@ -1,6 +1 @@
#!/bin/bash sudo docker build -t msrewards . && sudo docker run -p 1234:1234 -p 2345:2345 --shm-size=2gb --name MsRewards msrewards
echo "Enter the name of the instance"
read name
sudo docker build -t msrewards . && sudo docker run -p 1234:1234 -p 2345:2345 --shm-size=2gb --name $name msrewards