<jupyter_start><jupyter_text>사이트에서 그린색으로 쓰여진 글자만 찾아서 뽑아낸다.<jupyter_code>nameList = bs.findAll('span',{'class':'green'})
for name in nameList:
    print(name.get_text())<jupyter_output>Anna
<NAME>
Empress Marya
Fedorovna
<NAME>
<NAME>
St. Petersburg
the prince
<NAME>
<NAME>
the prince
the prince
the prince
<NAME>ili
<NAME>
<NAME>
the prince
Wintzingerode
King of Prussia
le Vicomte de Mortemart
Montmorencys
Rohans
<NAME>
the Emperor
the prince
<NAME>
Dowager Empress <NAME>
the baron
<NAME>
the Empress
the Empress
<NAME>'s
Her Majesty
Baron
Funke
The prince
Anna
Pavlovna
the Empress
The prince
Anatole
the prince
The prince
Anna
Pavlovna
<NAME>
{'fraction_non_alphanumeric': 0.09104938271604938, 'fraction_numerical': 0.0, 'mean_word_length': 6.131868131868132, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '312249', 'license': 'MIT', 'n_tokens_mistral': 290, 'n_tokens_neox': 292, 'n_words': 82, 'path': 'web scraping 3.ipynb', 'repo_name': 'JeongSikMoon/python', 'size': '753'}