diff --git a/V6.py b/V6.py index c8e1f09..f617ac7 100755 --- a/V6.py +++ b/V6.py @@ -424,17 +424,21 @@ def explore_on_bing(activity: str, config: Config): search_bing(f"météo {['Paris', 'Nice', 'Marseille', 'Bordeaux', 'Lyon'][randint(0, 4)]}") elif "packagetracking" in activity: 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: search_bing(f" {['Paris', 'Nice', 'Marseille', 'Bordeaux', 'Lyon'][randint(0, 4)]}") 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: search_bing(["actualités", "news"][randint(0, 1)]) elif "jobs" in activity: search_bing("jobs") 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: log_error(f"Explore on bing: {activity} not found.")