Implement "timezonedates"
This commit is contained in:
parent
0cc42823ff
commit
5e5f7f7407
5
V6.py
5
V6.py
|
@ -486,7 +486,8 @@ def explore_on_bing(activity: str, config: Config):
|
|||
]))
|
||||
elif "dictionary" in activity:
|
||||
search_bing(f"définition {config.wordlist.get_word()}")
|
||||
elif "election" in activity:
|
||||
elif "election" in activity or "timezonedates" in activity:
|
||||
#! I don't understand the name of "timezonedates" but this seems to be the same activity
|
||||
state = random.choice([
|
||||
"Alaska", "Alabama", "Arkansas", "American Samoa", "Arizona", "California", "Colorado",
|
||||
"Connecticut", "District ", "of Columbia", "Delaware", "Florida", "Georgia", "Guam",
|
||||
|
@ -499,8 +500,6 @@ def explore_on_bing(activity: str, config: Config):
|
|||
"West Virginia", "Wyoming"
|
||||
])
|
||||
search_bing(f"governor candidates {state} 2024")
|
||||
#elif "timezonedates" in activity:
|
||||
#pass
|
||||
else:
|
||||
log_error(f"Explore on bing: {activity} not found.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue