Compare commits
2 Commits
c53125479e
...
45ea72a354
Author | SHA1 | Date | |
---|---|---|---|
|
45ea72a354 | ||
|
18b35f6f68 |
10
V6.py
10
V6.py
@ -447,17 +447,21 @@ 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', '']} package tracking")
|
search_bing(f"{['fedex', 'UPS'][randint(0, 1)]} 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)]} carte")
|
search_bing(f"{['toux', 'douleur dos', 'nez qui coule', 'mal au genoux', 'otite'][randint(0, 4)]}")
|
||||||
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)]} carte")
|
search_bing(f"appartement à louer {['Paris', 'Nice', 'Marseille', 'Bordeaux', 'Lyon'][randint(0, 4)]}")
|
||||||
|
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
Block a user