Added package tracking card
This commit is contained in:
parent
c7e110787b
commit
a197d44768
5
V6.py
5
V6.py
|
@ -420,6 +420,11 @@ def explore_on_bing(activity: str, config: Config):
|
||||||
]
|
]
|
||||||
chosen = random.sample(currencies, k=2)
|
chosen = random.sample(currencies, k=2)
|
||||||
search_bing(f"convertir {random.randint(2, 120)} {chosen[0]} en {chosen[1]}")
|
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:
|
else:
|
||||||
log_error(f"Explore on bing: {activity} not found.")
|
log_error(f"Explore on bing: {activity} not found.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue