From a197d44768bd5268355e8030f33315f996e8c79e Mon Sep 17 00:00:00 2001 From: piair Date: Tue, 18 Jun 2024 20:37:14 +0200 Subject: [PATCH] Added package tracking card --- V6.py | 5 +++++ version | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/V6.py b/V6.py index 8213de2..78b0109 100755 --- a/V6.py +++ b/V6.py @@ -420,6 +420,11 @@ def explore_on_bing(activity: str, config: Config): ] chosen = random.sample(currencies, k=2) search_bing(f"convertir {random.randint(2, 120)} {chosen[0]} en {chosen[1]}") + elif "weather" in activity: + 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") else: log_error(f"Explore on bing: {activity} not found.") diff --git a/version b/version index 790346f..7ccc665 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.8.56 +v6.8.57