MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / initialize_word_list

Method initialize_word_list

examples/old_wordle_script.py:18–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 word_list = []
17
18 def initialize_word_list(self):
19 txt_file = "https://seleniumbase.github.io/cdn/txt/wordle_words.txt"
20 word_string = requests.get(txt_file, timeout=3).text
21 self.word_list = ast.literal_eval(word_string)
22
23 def modify_word_list(self, word, letter_status):
24 new_word_list = []

Callers 1

test_wordleMethod · 0.95

Calls 1

getMethod · 0.45

Tested by 1

test_wordleMethod · 0.76