Compare commits
No commits in common. "45ea72a354b7e931f72eb2acdafe3065fedbb335" and "c53125479ec7e9f3224da665a37234bb8aedb367" have entirely different histories.
45ea72a354
...
c53125479e
10
V6.py
10
V6.py
|
@ -447,21 +447,17 @@ def explore_on_bing(activity: str, config: Config):
|
||||||
search_bing(f"météo {['Paris', 'Nice', 'Marseille', 'Bordeaux', 'Lyon'][randint(0, 4)]}")
|
search_bing(f"météo {['Paris', 'Nice', 'Marseille', 'Bordeaux', 'Lyon'][randint(0, 4)]}")
|
||||||
elif "packagetracking" in activity:
|
elif "packagetracking" in activity:
|
||||||
driver.get("https://www.bing.com/?setmkt=en-US&setlang=en-US")
|
driver.get("https://www.bing.com/?setmkt=en-US&setlang=en-US")
|
||||||
search_bing(f"{['fedex', 'UPS'][randint(0, 1)]} package tracking")
|
search_bing(f"{['fedex', 'UPS', '']} package tracking")
|
||||||
elif "hotel" in activity:
|
elif "hotel" in activity:
|
||||||
search_bing(f" {['Paris', 'Nice', 'Marseille', 'Bordeaux', 'Lyon'][randint(0, 4)]}")
|
search_bing(f" {['Paris', 'Nice', 'Marseille', 'Bordeaux', 'Lyon'][randint(0, 4)]}")
|
||||||
elif "health" in activity:
|
elif "health" in activity:
|
||||||
search_bing(f"{['toux', 'douleur dos', 'nez qui coule', 'mal au genoux', 'otite'][randint(0, 4)]}")
|
search_bing(f"{['toux', 'douleur dos', 'nez qui coule', 'mal au genoux', 'otite'][randint(0, 4)]} carte")
|
||||||
elif "news" in activity:
|
elif "news" in activity:
|
||||||
search_bing(["actualités", "news"][randint(0, 1)])
|
search_bing(["actualités", "news"][randint(0, 1)])
|
||||||
elif "jobs" in activity:
|
elif "jobs" in activity:
|
||||||
search_bing("jobs")
|
search_bing("jobs")
|
||||||
elif "realestate" in activity:
|
elif "realestate" in activity:
|
||||||
search_bing(f"appartement à louer {['Paris', 'Nice', 'Marseille', 'Bordeaux', 'Lyon'][randint(0, 4)]}")
|
search_bing(f"appartement à louer {['Paris', 'Nice', 'Marseille', 'Bordeaux', 'Lyon'][randint(0, 4)]} carte")
|
||||||
elif "financemarket" in activity:
|
|
||||||
search_bing(
|
|
||||||
f"cours action {['AIR LIQUIDE', 'Airbus', 'BNP Paribas', 'Michelin', 'Stellantis', 'Vinci'][randint(0, 5)]}")
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
log_error(f"Explore on bing: {activity} not found.")
|
log_error(f"Explore on bing: {activity} not found.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue