adding new custom search cards
This commit is contained in:
parent
c7e110787b
commit
e25334f1bd
10
V6.py
10
V6.py
|
@ -420,6 +420,16 @@ 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 "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.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue