Implement "timezonedates"

This commit is contained in:
augustin64 2024-10-18 13:03:16 +02:00
parent 0cc42823ff
commit 5e5f7f7407
2 changed files with 3 additions and 4 deletions

5
V6.py
View File

@ -486,7 +486,8 @@ def explore_on_bing(activity: str, config: Config):
])) ]))
elif "dictionary" in activity: elif "dictionary" in activity:
search_bing(f"définition {config.wordlist.get_word()}") 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([ state = random.choice([
"Alaska", "Alabama", "Arkansas", "American Samoa", "Arizona", "California", "Colorado", "Alaska", "Alabama", "Arkansas", "American Samoa", "Arizona", "California", "Colorado",
"Connecticut", "District ", "of Columbia", "Delaware", "Florida", "Georgia", "Guam", "Connecticut", "District ", "of Columbia", "Delaware", "Florida", "Georgia", "Guam",
@ -499,8 +500,6 @@ def explore_on_bing(activity: str, config: Config):
"West Virginia", "Wyoming" "West Virginia", "Wyoming"
]) ])
search_bing(f"governor candidates {state} 2024") search_bing(f"governor candidates {state} 2024")
#elif "timezonedates" in activity:
#pass
else: else:
log_error(f"Explore on bing: {activity} not found.") log_error(f"Explore on bing: {activity} not found.")

View File

@ -1 +1 @@
v6.8.64 v6.8.65