Compare commits

..

3 Commits

Author SHA1 Message Date
piair 574fa45813 Update version 2024-07-05 13:47:08 +02:00
piair 3bb49d1618 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	V6.py
2024-07-05 13:46:04 +02:00
piair e25334f1bd adding new custom search cards 2024-07-05 13:45:26 +02:00
2 changed files with 11 additions and 1 deletions

10
V6.py
View File

@ -425,6 +425,16 @@ def explore_on_bing(activity: str, config: Config):
elif "packagetracking" in activity:
driver.get("https://www.bing.com/?setmkt=en-US&setlang=en-US")
search_bing(f"{['fedex', 'UPS', '']} 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")
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")
else:
log_error(f"Explore on bing: {activity} not found.")

View File

@ -1 +1 @@
v6.8.61
v6.8.62